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

Function v_mat44_compose

include/vecmath/dag_vecMath_common.h:1551–1557  ·  view source on GitHub ↗

compose 4x4 matrix from position and scale

Source from the content-addressed store, hash-verified

1549
1550//! compose 4x4 matrix from position and scale
1551VECTORCALL VECMATH_FINLINE void v_mat44_compose(mat44f &dest, vec4f pos, vec4f scale)
1552{
1553 dest.col0 = v_perm_ayzw(v_zero(), scale);
1554 dest.col1 = v_perm_xbzw(v_zero(), scale);
1555 dest.col2 = v_perm_xycw(v_zero(), scale);
1556 dest.col3 = pos;
1557}
1558
1559//! compose 4x4 matrix from position/rotation/scale
1560VECTORCALL VECMATH_FINLINE void v_mat44_compose(mat44f &dest, vec4f pos, quat4f rot, vec4f scale)

Callers 1

float4x4_composeFunction · 0.85

Calls 15

v_perm_ayzwFunction · 0.70
v_zeroFunction · 0.70
v_perm_xbzwFunction · 0.70
v_perm_xycwFunction · 0.70
v_addFunction · 0.70
v_splat_wFunction · 0.70
v_perm_yzxwFunction · 0.70
v_perm_zxywFunction · 0.70
v_mulFunction · 0.70
v_nmsubFunction · 0.70
v_maddFunction · 0.70
v_andFunction · 0.70

Tested by

no test coverage detected