Searched refs:invLength (Results 1 – 3 of 3) sorted by relevance
196 float invLength; in computeVectors() local211 invLength = FastMath.invSqrt(p00 * p00 + p01 * p01); in computeVectors()212 p00 *= invLength; in computeVectors()213 p01 *= invLength; in computeVectors()217 invLength = FastMath.invSqrt(p11 * p11 + p01 * p01); in computeVectors()218 p11 *= invLength; in computeVectors()219 p01 *= invLength; in computeVectors()250 invLength = FastMath.invSqrt(p00 * p00 + p01 * p01); in computeVectors()251 p00 *= invLength; in computeVectors()252 p01 *= invLength; in computeVectors()[all …]
608 float invLength = (1.0f / FastMath.sqrt(sqrLength)); in toAngleAxis() local609 axisStore.x = x * invLength; in toAngleAxis()610 axisStore.y = y * invLength; in toAngleAxis()611 axisStore.z = z * invLength; in toAngleAxis()
231 float invLength = FastMath.invSqrt(lengthSquared); in rotateAxial() local233 left.x *= invLength; in rotateAxial()235 left.z *= invLength; in rotateAxial()248 left.x *= invLength; in rotateAxial()249 left.y *= invLength; in rotateAxial()