Searched refs:cosAngle (Results 1 – 9 of 9) sorted by relevance
/third_party/vk-gl-cts/framework/common/ |
D | tcuVectorUtil.hpp | 92 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/ |
D | M44Test.cpp | 146 SkScalar sinAngle, cosAngle; in DEF_TEST() member 171 m.setRotateUnitSinCos(r.aboutAxis, r.sinAngle, r.cosAngle); in DEF_TEST()
|
/third_party/skia/src/core/ |
D | SkM44.cpp | 264 SkM44& SkM44::setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle) { in setRotateUnitSinCos() argument 270 SkScalar c = cosAngle; in setRotateUnitSinCos()
|
/third_party/skia/modules/canvaskit/ |
D | matrix.js | 255 CanvasKit.M44.rotatedUnitSinCos = function(axisVec, sinAngle, cosAngle) { argument 259 var c = cosAngle;
|
/third_party/skia/src/effects/imagefilters/ |
D | SkLightingImageFilter.cpp | 1030 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/ |
D | GrAATriangulator.cpp | 442 float cosAngle = normal.dot(prevNormal); in strokeBoundary() local 443 if (cosAngle < -kCosMiterAngle) { in strokeBoundary()
|
D | GrTriangulator.cpp | 1042 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/ |
D | SkM44.h | 308 SkM44& setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle);
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 3067 rotatedUnitSinCos(axis: Vector3, sinAngle: number, cosAngle: number): number[];
|