Home
last modified time | relevance | path

Searched refs:sinTheta (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/ui/gfx/
Dtransform.cc101 SkMScalar sinTheta = SkDoubleToMScalar(std::sin(radians)); in RotateAboutXAxis() local
104 0, cosTheta, sinTheta, in RotateAboutXAxis()
105 0, -sinTheta, cosTheta); in RotateAboutXAxis()
109 0, cosTheta, sinTheta, in RotateAboutXAxis()
110 0, -sinTheta, cosTheta); in RotateAboutXAxis()
118 SkMScalar sinTheta = SkDoubleToMScalar(std::sin(radians)); in RotateAboutYAxis() local
122 matrix_.set3x3(cosTheta, 0, -sinTheta, in RotateAboutYAxis()
124 sinTheta, 0, cosTheta); in RotateAboutYAxis()
127 rot.set3x3(cosTheta, 0, -sinTheta, in RotateAboutYAxis()
129 sinTheta, 0, cosTheta); in RotateAboutYAxis()
[all …]
/external/eigen/bench/
Dquat_slerp.cpp34 Scalar sinTheta = internal::sin(theta); in slerp_legacy() local
36 Scalar scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_legacy()
37 Scalar scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_legacy()
64 Scalar sinTheta = internal::sin(theta); in slerp_legacy_nlerp() local
66 scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_legacy_nlerp()
67 scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_legacy_nlerp()
134 Scalar sinTheta = std::sin(theta); in slerp_gael() local
135 scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_gael()
136 scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_gael()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTransformationMatrix.cpp775 double sinTheta = std::sin(angle); in rotate3d() local
787 mat.m_matrix[1][2] = sinTheta; in rotate3d()
789 mat.m_matrix[2][1] = -sinTheta; in rotate3d()
797 mat.m_matrix[0][2] = -sinTheta; in rotate3d()
801 mat.m_matrix[2][0] = sinTheta; in rotate3d()
809 mat.m_matrix[0][1] = sinTheta; in rotate3d()
811 mat.m_matrix[1][0] = -sinTheta; in rotate3d()
830 mat.m_matrix[0][1] = y * x * oneMinusCosTheta + z * sinTheta; in rotate3d()
831 mat.m_matrix[0][2] = z * x * oneMinusCosTheta - y * sinTheta; in rotate3d()
832 mat.m_matrix[1][0] = x * y * oneMinusCosTheta - z * sinTheta; in rotate3d()
[all …]
/external/eigen/Eigen/src/Eigen2Support/Geometry/
DQuaternion.h434 Scalar sinTheta = ei_sin(theta);
436 scale0 = ei_sin( ( Scalar(1) - t ) * theta) / sinTheta;
437 scale1 = ei_sin( ( t * theta) ) / sinTheta;
/external/eigen/Eigen/src/Geometry/
DQuaternion.h710 Scalar sinTheta = sin(theta);
712 scale0 = sin( ( Scalar(1) - t ) * theta) / sinTheta;
713 scale1 = sin( ( t * theta) ) / sinTheta;