Home
last modified time | relevance | path

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

/external/eigen/bench/
Dquat_slerp.cpp34 Scalar sinTheta = internal::sin(theta); in slerp_legacy() local
36 Scalar scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_legacy()
37 Scalar scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_legacy()
64 Scalar sinTheta = internal::sin(theta); in slerp_legacy_nlerp() local
66 scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_legacy_nlerp()
67 scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_legacy_nlerp()
134 Scalar sinTheta = std::sin(theta); in slerp_gael() local
135 scale0 = internal::sin( ( Scalar(1) - t ) * theta) / sinTheta; in slerp_gael()
136 scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_gael()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPathParser.java454 double sinTheta = Math.sin(thetaD); in drawArc() local
457 double x0p = (x0 * cosTheta + y0 * sinTheta) / a; in drawArc()
458 double y0p = (-x0 * sinTheta + y0 * cosTheta) / b; in drawArc()
459 double x1p = (x1 * cosTheta + y1 * sinTheta) / a; in drawArc()
460 double y1p = (-x1 * sinTheta + y1 * cosTheta) / b; in drawArc()
509 cx = cx * cosTheta - cy * sinTheta; in drawArc()
510 cy = tcx * sinTheta + cy * cosTheta; in drawArc()
548 double sinTheta = Math.sin(theta); in arcToBezier() local
551 double ep1x = (-a * cosTheta * sinEta1) - (b * sinTheta * cosEta1); in arcToBezier()
552 double ep1y = (-a * sinTheta * sinEta1) + (b * cosTheta * cosEta1); in arcToBezier()
[all …]
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp231 const double sinTheta = (p2y - p0y) / hypotenuse; in init() local
235 cosTheta, sinTheta, -(cosTheta * p0x) - (sinTheta * p0y), in init()
236 -sinTheta, cosTheta, (sinTheta * p0x) - (cosTheta * p0y) in init()
294 const double sinTheta = -1.0 * sign_of((a + b) * h) * sqrt(b / (a + b)); in init() local
296 const double gDef = cosTheta * g - sinTheta * f; in init()
297 const double fDef = sinTheta * g + cosTheta * f; in init()
309 const double lambda_sinTheta = lambda * sinTheta; in init()
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp260 const double sinTheta = (p2y - p0y) / hypotenuse; in init() local
263 cosTheta, sinTheta, -(cosTheta * p0x) - (sinTheta * p0y), in init()
264 -sinTheta, cosTheta, (sinTheta * p0x) - (cosTheta * p0y) in init()
321 const double sinTheta = -1.0 * sign_of((a + b) * h) * sqrt(b / (a + b)); in init() local
323 const double gDef = cosTheta * g - sinTheta * f; in init()
324 const double fDef = sinTheta * g + cosTheta * f; in init()
336 const double lambda_sinTheta = lambda * sinTheta; in init()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2LatLngRect.java703 double sinTheta = Math.sqrt(1 - cosTheta * cosTheta); in intersectsLatEdge() local
704 double theta = Math.atan2(sinTheta, cosTheta); in intersectsLatEdge()
718 sinTheta)); in intersectsLatEdge()
725 S2Point intersection = S2Point.sub(S2Point.mul(x, cosTheta), S2Point.mul(y, sinTheta)); in intersectsLatEdge()
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js261 var sinTheta = Math.sin(theta);
266 var x = cosPhi * sinTheta;
268 var z = sinPhi * sinTheta;
/external/eigen/Eigen/src/Geometry/
DQuaternion.h741 Scalar sinTheta = sin(theta);
743 scale0 = sin( ( Scalar(1) - t ) * theta) / sinTheta;
744 scale1 = sin( ( t * theta) ) / sinTheta;