MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / cross

Function cross

third-party/embreeSrc/common/math/vec2fa.h:265–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263#endif
264
265 __forceinline Vec2fa cross ( const Vec2fa& a ) {
266 return Vec2fa(-a.y,a.x);
267 }
268
269 __forceinline float sqr_length ( const Vec2fa& a ) { return dot(a,a); }
270 __forceinline float rcp_length ( const Vec2fa& a ) { return rsqrt(dot(a,a)); }

Callers

nothing calls this directly

Calls 1

Vec2faFunction · 0.70

Tested by

no test coverage detected