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

Function vis_transform_points_4

include/vecmath/dag_vecMath_common.h:1753–1766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1751}
1752
1753VECTORCALL VECMATH_FINLINE void vis_transform_points_4(vec4f* dest, vec4f x, vec4f y, vec4f z, mat44f_cref mat)
1754{
1755#define COMP(c, attr) \
1756 vec4f res_ ## c = v_splat_##attr(mat.col3); \
1757 res_ ## c = v_madd(z, v_splat_##attr(mat.col2), res_ ## c); \
1758 res_ ## c = v_madd(y, v_splat_##attr(mat.col1), res_ ## c); \
1759 res_ ## c = v_madd(x, v_splat_##attr(mat.col0), res_ ## c); \
1760 dest[c] = res_ ## c;
1761 COMP(0,x);
1762 COMP(1,y);
1763 COMP(2,z);
1764 COMP(3,w);
1765#undef COMP
1766}
1767
1768VECTORCALL VECMATH_FINLINE void vis_transform_points_4(vec4f* dest, vec4f x, vec4f y, mat44f_cref mat)
1769{

Callers 3

v_is_visibleFunction · 0.85
v_is_visible_bFunction · 0.85
v_screen_size_bFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected