Searched refs:fSin (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTQuaternionF.cpp | 53 float fSin, fCos; in PVRTMatrixQuaternionRotationAxisF() local 55 fSin = (float)PVRTFSIN(fAngle * 0.5f); in PVRTMatrixQuaternionRotationAxisF() 59 qOut.x = vAxis.x * fSin; in PVRTMatrixQuaternionRotationAxisF() 60 qOut.y = vAxis.y * fSin; in PVRTMatrixQuaternionRotationAxisF() 61 qOut.z = vAxis.z * fSin; in PVRTMatrixQuaternionRotationAxisF()
|
D | PVRTQuaternionX.cpp | 54 int fSin, fCos; in PVRTMatrixQuaternionRotationAxisX() local 56 fSin = PVRTXSIN(fAngle>>1); in PVRTMatrixQuaternionRotationAxisX() 60 qOut.x = PVRTXMUL(vAxis.x, fSin); in PVRTMatrixQuaternionRotationAxisX() 61 qOut.y = PVRTXMUL(vAxis.y, fSin); in PVRTMatrixQuaternionRotationAxisX() 62 qOut.z = PVRTXMUL(vAxis.z, fSin); in PVRTMatrixQuaternionRotationAxisX()
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
D | rotate_normalized_axis.inl | 92 …n::cross(q, detail::tquat<T, P>(cos(AngleRad * T(0.5)), Tmp.x * fSin, Tmp.y * fSin, Tmp.z * fSin));
|
D | quaternion.inl | 193 T fSin = sqrt(T(1) - fCos * fCos); local 194 T fAngle = atan(fSin, fCos); 195 T fOneOverSin = static_cast<T>(1) / fSin;
|
/external/vulkan-validation-layers/libs/glm/gtc/ |
D | quaternion.inl | 470 T fSin = sqrt(T(1) - fCos * fCos); 471 T fAngle = atan(fSin, fCos); 472 T fOneOverSin = static_cast<T>(1) / fSin; 632 …n::cross(q, detail::tquat<T, P>(cos(AngleRad * T(0.5)), Tmp.x * fSin, Tmp.y * fSin, Tmp.z * fSin));
|