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

Function IsValid

openpgl/include/openpgl/cpp/Common.h:244–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244OPENPGL_INLINE bool IsValid(const pgl_vec3f &vec)
245{
246 return ((vec.x > -FLT_LARGE) & (vec.x < +FLT_LARGE)) && ((vec.y > -FLT_LARGE) & (vec.y < +FLT_LARGE)) && ((vec.z > -FLT_LARGE) & (vec.z < +FLT_LARGE));
247}
248
249OPENPGL_INLINE bool IsZero(const pgl_vec3f &vec)
250{

Callers 1

GuidedRussianRouletteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected