Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTQuaternionF.cpp188 float fMagnitude; in PVRTMatrixQuaternionNormalizeF() local
193 fMagnitude = (float)sqrt(temp); in PVRTMatrixQuaternionNormalizeF()
196 if (fMagnitude!=0.0f) in PVRTMatrixQuaternionNormalizeF()
198 fMagnitude = 1.0f / fMagnitude; in PVRTMatrixQuaternionNormalizeF()
199 quat.x *= fMagnitude; in PVRTMatrixQuaternionNormalizeF()
200 quat.y *= fMagnitude; in PVRTMatrixQuaternionNormalizeF()
201 quat.z *= fMagnitude; in PVRTMatrixQuaternionNormalizeF()
202 quat.w *= fMagnitude; in PVRTMatrixQuaternionNormalizeF()