Home
last modified time | relevance | path

Searched refs:cosAngle (Results 1 – 11 of 11) sorted by relevance

/external/libkmsxx/kmscube/
DesTransform.cpp77 GLfloat sinAngle, cosAngle; in esRotate() local
81 cosAngle = cosf(angle * PI / 180.0f); in esRotate()
100 oneMinusCos = 1.0f - cosAngle; in esRotate()
102 rotMat.m[0][0] = (oneMinusCos * xx) + cosAngle; in esRotate()
108 rotMat.m[1][1] = (oneMinusCos * yy) + cosAngle; in esRotate()
114 rotMat.m[2][2] = (oneMinusCos * zz) + cosAngle; in esRotate()
/external/deqp/framework/common/
DtcuVectorUtil.hpp92 float cosAngle = (n * i); in refract() local
93 float k = 1.0f - eta * eta * (1.0f - cosAngle * cosAngle); in refract()
97 return eta * i - (eta * cosAngle + deFloatSqrt(k)) * n; in refract()
197 T cosAngle = dot(n, i); in refract() local
198 T k = T(1) - eta * eta * (T(1) - cosAngle * cosAngle); in refract()
202 return i * eta - n * T(eta * cosAngle + ::sqrt(k)); in refract()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
DMicrosphereInterpolatingFunction.java212 md.store(cosAngle(diff, md.normal()) * w, sd); in value()
240 private double cosAngle(final RealVector v, final RealVector w) { in cosAngle() method in MicrosphereInterpolatingFunction
/external/skia/tests/
DM44Test.cpp151 SkScalar sinAngle, cosAngle; in DEF_TEST() member
176 m.setRotateUnitSinCos(r.aboutAxis, r.sinAngle, r.cosAngle); in DEF_TEST()
/external/skia/src/core/
DSkM44.cpp260 SkM44& SkM44::setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle) { in setRotateUnitSinCos() argument
266 SkScalar c = cosAngle; in setRotateUnitSinCos()
/external/skia/modules/canvaskit/
Dmatrix.js255 CanvasKit.M44.rotatedUnitSinCos = function(axisVec, sinAngle, cosAngle) { argument
259 var c = cosAngle;
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1078 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local
1080 if (cosAngle >= fCosOuterConeAngle) { in lightColor()
1081 scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor()
1082 if (cosAngle < fCosInnerConeAngle) { in lightColor()
1083 scale *= (cosAngle - fCosOuterConeAngle) * fConeScale; in lightColor()
/external/skia/src/gpu/ganesh/geometry/
DGrAATriangulator.cpp445 float cosAngle = normal.dot(prevNormal); in strokeBoundary() local
446 if (cosAngle < -kCosMiterAngle) { in strokeBoundary()
DGrTriangulator.cpp1071 double cosAngle = line1.fA * line2.fA + line1.fB * line2.fB; in computeBisector() local
1072 if (cosAngle > 0.999) { in computeBisector()
/external/skia/include/core/
DSkM44.h320 SkM44& setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle);
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts3218 rotatedUnitSinCos(axis: Vector3, sinAngle: number, cosAngle: number): number[];