Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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()
/third_party/skia/tests/
DM44Test.cpp146 SkScalar sinAngle, cosAngle; in DEF_TEST() member
171 m.setRotateUnitSinCos(r.aboutAxis, r.sinAngle, r.cosAngle); in DEF_TEST()
/third_party/skia/src/core/
DSkM44.cpp264 SkM44& SkM44::setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle) { in setRotateUnitSinCos() argument
270 SkScalar c = cosAngle; in setRotateUnitSinCos()
/third_party/skia/modules/canvaskit/
Dmatrix.js255 CanvasKit.M44.rotatedUnitSinCos = function(axisVec, sinAngle, cosAngle) { argument
259 var c = cosAngle;
/third_party/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1030 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local
1032 if (cosAngle >= fCosOuterConeAngle) { in lightColor()
1033 scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor()
1034 if (cosAngle < fCosInnerConeAngle) { in lightColor()
1035 scale *= (cosAngle - fCosOuterConeAngle) * fConeScale; in lightColor()
/third_party/skia/src/gpu/geometry/
DGrAATriangulator.cpp442 float cosAngle = normal.dot(prevNormal); in strokeBoundary() local
443 if (cosAngle < -kCosMiterAngle) { in strokeBoundary()
DGrTriangulator.cpp1042 double cosAngle = line1.fA * line2.fA + line1.fB * line2.fB; in computeBisector() local
1043 if (cosAngle > 0.999) { in computeBisector()
/third_party/skia/include/core/
DSkM44.h308 SkM44& setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle);
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts3067 rotatedUnitSinCos(axis: Vector3, sinAngle: number, cosAngle: number): number[];