Skip to content

shz_mat4x4_get_translation

Markdown
SHZ_INLINE shz_vec3_t shz_mat4x4_get_translation(const shz_mat4x4_t* mat) SHZ_NOEXCEPT;

Returns the translational components from the 4th column as a 3D vector.

NameTypeDescription
matconst shz_mat4x4_t *

shz_vec3_t

  • shz_mat4x4_t and shz_mat2x2_t arguments must be 8-byte aligned. Unaligned data goes through the float[16] parameters of the _unaligned routines.