Home
last modified time | relevance | path

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

/external/skqp/src/utils/
DSk3D.cpp45 float halfAngle = angle * 0.5f; in Sk3Perspective() local
46 float cot = sk_float_cos(halfAngle) / sk_float_sin(halfAngle); in Sk3Perspective()
/external/skia/modules/canvaskit/
Dmatrix.js295 var halfAngle = angle / 2;
296 var cot = Math.cos(halfAngle) / Math.sin(halfAngle);
/external/skia/src/core/
DSkM44.cpp412 float halfAngle = angle * 0.5f; in Perspective() local
413 float cot = sk_float_cos(halfAngle) / sk_float_sin(halfAngle); in Perspective()
/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()