Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/math/
DEigen3f.java196 float invLength; in computeVectors() local
211 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 …]
DQuaternion.java608 float invLength = (1.0f / FastMath.sqrt(sqrLength)); in toAngleAxis() local
609 axisStore.x = x * invLength; in toAngleAxis()
610 axisStore.y = y * invLength; in toAngleAxis()
611 axisStore.z = z * invLength; in toAngleAxis()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DBillboardControl.java231 float invLength = FastMath.invSqrt(lengthSquared); in rotateAxial() local
233 left.x *= invLength; in rotateAxial()
235 left.z *= invLength; in rotateAxial()
248 left.x *= invLength; in rotateAxial()
249 left.y *= invLength; in rotateAxial()