Home
last modified time | relevance | path

Searched refs:cos_theta (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/random/example/
Dintersections.cpp56 double cos_theta = 1 - 2 * dist(gen); in main() local
57 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()
/third_party/ffmpeg/libavfilter/
Dvf_v360.c1751 const float cos_theta = cosf(theta); in equirect_to_xyz() local
1753 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() local
1782 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() local
2310 vec[1] = cos_theta; in mercator_to_xyz()
2488 const float cos_theta = cosf(theta); in sinusoidal_to_xyz() local
2490 vec[0] = cos_theta * sin_phi; in sinusoidal_to_xyz()
[all …]
Daf_afreqshift.c96 type cos_theta = cos(shift); \
122 dst[n] = (I * cos_theta - Q * sin_theta) * level; \
/third_party/boost/libs/math/example/
DHSO3.hpp448 …TYPE_FLOAT cos_theta = (rot.a11+rot.a22+rot.a33-static_cast<TYPE_FLOAT>(1))/static_cast<TYPE_FL… in R3_rotation_to_quaternion() local
449 TYPE_FLOAT stuff = (cos_theta+static_cast<TYPE_FLOAT>(1))/static_cast<TYPE_FLOAT>(2); in R3_rotation_to_quaternion()