Searched refs:dotValue (Results 1 – 2 of 2) sorted by relevance
123 T const dotValue(dot(N, I)); local124 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)); local233 …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>…
27 SkScalar dotValue = dot(e1, e2); in dot_nearly_zero() local28 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()