Searched refs:cos_theta (Results 1 – 4 of 4) sorted by relevance
56 double cos_theta = 1 - 2 * dist(gen); in main() local57 double sin_theta = std::sqrt(1 - cos_theta * cos_theta); in main()61 point_t point_on_sphere(sin_theta*sin_phi, cos_theta, sin_theta*cos_phi); in main()
1751 const float cos_theta = cosf(theta); in equirect_to_xyz() local1753 vec[0] = cos_theta * sin_phi; in equirect_to_xyz()1755 vec[2] = cos_theta * cos_phi; in equirect_to_xyz()1780 const float cos_theta = cosf(theta); in hequirect_to_xyz() local1782 vec[0] = cos_theta * sin_phi; in hequirect_to_xyz()1784 vec[2] = cos_theta * cos_phi; in hequirect_to_xyz()2307 const float cos_theta = (expf(2.f * y) - 1.f) / div; in mercator_to_xyz() local2310 vec[1] = cos_theta; in mercator_to_xyz()2488 const float cos_theta = cosf(theta); in sinusoidal_to_xyz() local2490 vec[0] = cos_theta * sin_phi; in sinusoidal_to_xyz()[all …]
96 type cos_theta = cos(shift); \122 dst[n] = (I * cos_theta - Q * sin_theta) * level; \
448 …TYPE_FLOAT cos_theta = (rot.a11+rot.a22+rot.a33-static_cast<TYPE_FLOAT>(1))/static_cast<TYPE_FL… in R3_rotation_to_quaternion() local449 TYPE_FLOAT stuff = (cos_theta+static_cast<TYPE_FLOAT>(1))/static_cast<TYPE_FLOAT>(2); in R3_rotation_to_quaternion()