Home
last modified time | relevance | path

Searched refs:fCosAngle (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTQuaternionF.cpp81 float fCosAngle, fSinAngle; in PVRTMatrixQuaternionToAxisAngleF() local
85 fCosAngle = qIn.w; in PVRTMatrixQuaternionToAxisAngleF()
86 temp = 1.0f - fCosAngle*fCosAngle; in PVRTMatrixQuaternionToAxisAngleF()
87 fAngle = (float)PVRTFACOS(fCosAngle)*2.0f; in PVRTMatrixQuaternionToAxisAngleF()
DPVRTQuaternionX.cpp82 int fCosAngle, fSinAngle; in PVRTMatrixQuaternionToAxisAngleX() local
86 fCosAngle = qIn.w; in PVRTMatrixQuaternionToAxisAngleX()
87 temp = PVRTF2X(1.0f) - PVRTXMUL(fCosAngle, fCosAngle); in PVRTMatrixQuaternionToAxisAngleX()
88 fAngle = PVRTXMUL(PVRTXACOS(fCosAngle), PVRTF2X(2.0f)); in PVRTMatrixQuaternionToAxisAngleX()