Home
last modified time | relevance | path

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

/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java180 double halfAngle = -0.5 * angle; in Rotation() local
181 double coeff = FastMath.sin(halfAngle) / norm; in Rotation()
183 q0 = FastMath.cos (halfAngle); in Rotation()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DQuaternion.java575 float halfAngle = 0.5f * angle; in fromAngleNormalAxis() local
576 float sin = FastMath.sin(halfAngle); in fromAngleNormalAxis()
577 w = FastMath.cos(halfAngle); in fromAngleNormalAxis()