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

Function v_bbox3_scale

include/vecmath/dag_vecMath_common.h:869–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

867 return v_hmax3(v_bbox3_size(b));
868}
869VECTORCALL VECMATH_FINLINE bbox3f v_bbox3_scale(bbox3f b, vec4f size_factor)
870{
871 vec3f center = v_bbox3_center(b);
872 return bbox3f
873 {
874 v_lerp_vec4f(size_factor, center, b.bmin),
875 v_lerp_vec4f(size_factor, center, b.bmax)
876 };
877}
878VECTORCALL VECMATH_FINLINE bool v_bbox3_is_empty(bbox3f bbox)
879{
880 vec4f invalid = v_cmp_gt(bbox.bmin, bbox.bmax);

Callers 1

Calls 2

v_bbox3_centerFunction · 0.85
v_lerp_vec4fFunction · 0.85

Tested by

no test coverage detected