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

Function v_safediv

include/vecmath/dag_vecMath_common.h:130–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130VECTORCALL VECMATH_FINLINE vec4f v_safediv(vec4f a, vec4f b, vec4f def)
131{
132 vec4f isDiv0 = v_is_unsafe_divisor(b);
133 return v_sel(v_div(a, b), def, isDiv0);
134}
135
136VECTORCALL VECMATH_FINLINE vec4f v_rcp(vec4f a)
137{

Callers 1

closest_point_on_segmentFunction · 0.85

Calls 3

v_is_unsafe_divisorFunction · 0.85
v_selFunction · 0.70
v_divFunction · 0.70

Tested by

no test coverage detected