MCPcopy Create free account
hub / github.com/RenderKit/embree / rsqrt

Function rsqrt

common/math/vec2.h:70–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 template<typename T> __forceinline Vec2<T> abs ( const Vec2<T>& a ) { return Vec2<T>(abs (a.x), abs (a.y)); }
69 template<typename T> __forceinline Vec2<T> rcp ( const Vec2<T>& a ) { return Vec2<T>(rcp (a.x), rcp (a.y)); }
70 template<typename T> __forceinline Vec2<T> rsqrt ( const Vec2<T>& a ) { return Vec2<T>(rsqrt(a.x), rsqrt(a.y)); }
71 template<typename T> __forceinline Vec2<T> sqrt ( const Vec2<T>& a ) { return Vec2<T>(sqrt (a.x), sqrt (a.y)); }
72 template<typename T> __forceinline Vec2<T> frac ( const Vec2<T>& a ) { return Vec2<T>(frac (a.x), frac (a.y)); }
73

Callers 13

normalizeFunction · 0.70
normalize_safeFunction · 0.70
normalizeFunction · 0.70
QuaternionTMethod · 0.70
CurvePrecalculations1Method · 0.50
CurvePrecalculationsKMethod · 0.50
extentMethod · 0.50
extent0Method · 0.50
AnisotropicBlinn__sampleFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected