MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / v_bbox3_is_empty

Function v_bbox3_is_empty

include/vecmath/dag_vecMath_common.h:878–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

876 };
877}
878VECTORCALL VECMATH_FINLINE bool v_bbox3_is_empty(bbox3f bbox)
879{
880 vec4f invalid = v_cmp_gt(bbox.bmin, bbox.bmax);
881 return v_check_xyz_any_true(invalid);
882}
883VECTORCALL VECMATH_FINLINE bool v_bbox3_test_pt_inside(bbox3f b, vec3f p)
884{
885 vec3f inside = v_and(v_cmp_ge(p, b.bmin), v_cmp_ge(b.bmax, p));

Callers 1

v_bsph_bbox_best_sumFunction · 0.85

Calls 2

v_cmp_gtFunction · 0.70
v_check_xyz_any_trueFunction · 0.70

Tested by

no test coverage detected