Home
last modified time | relevance | path

Searched refs:dotValue (Results 1 – 2 of 2) sorted by relevance

/external/oboe/samples/RhythmGame/third_party/glm/detail/
Dfunc_geometric.inl123 T const dotValue(dot(N, I)); local
124 T const k(static_cast<T>(1) - eta * eta * (static_cast<T>(1) - dotValue * dotValue));
125 return (eta * I - (eta * dotValue + std::sqrt(k)) * N) * static_cast<T>(k >= static_cast<T>(0));
232 genType const dotValue(dot(N, I)); local
233 …ype const k(static_cast<genType>(1) - eta * eta * (static_cast<genType>(1) - dotValue * dotValue));
234 …return (eta * I - (eta * dotValue + sqrt(k)) * N) * static_cast<genType>(k >= static_cast<genType>…
/external/skqp/src/gpu/
DGrQuad.cpp27 SkScalar dotValue = dot(e1, e2); in dot_nearly_zero() local
28 if (SkScalarIsNaN(dotValue)) { in dot_nearly_zero()
30 dotValue = dot({sign(e1.fX), sign(e1.fY)}, {sign(e2.fX), sign(e2.fY)}); in dot_nearly_zero()
33 return SkScalarNearlyZero(dotValue, 1e-3f); in dot_nearly_zero()