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

Function isvalid

third-party/embreeSrc/common/math/vec3fa.h:304–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302#endif
303
304 __forceinline bool isvalid ( const Vec3fa& v ) {
305 return all(gt_mask(v,Vec3fa(-FLT_LARGE)) & lt_mask(v,Vec3fa(+FLT_LARGE)));
306 }
307
308 __forceinline bool is_finite ( const Vec3fa& a ) {
309 return all(ge_mask(a,Vec3fa(-FLT_MAX)) & le_mask(a,Vec3fa(+FLT_MAX)));

Callers

nothing calls this directly

Calls 5

Vec3fxFunction · 0.85
allFunction · 0.70
gt_maskFunction · 0.70
Vec3faFunction · 0.70
lt_maskFunction · 0.70

Tested by

no test coverage detected