compose 4x4 matrix from position and scale
| 1549 | |
| 1550 | //! compose 4x4 matrix from position and scale |
| 1551 | VECTORCALL 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 |
| 1560 | VECTORCALL VECMATH_FINLINE void v_mat44_compose(mat44f &dest, vec4f pos, quat4f rot, vec4f scale) |
no test coverage detected