Skip to content

shz_mat4x4_col

Markdown
SHZ_INLINE shz_vec4_t shz_mat4x4_col(const shz_mat4x4_t* mat, size_t col) SHZ_NOEXCEPT;

Extracts the col index as a 4D column vector from the given matrix.

NameTypeDescription
matconst shz_mat4x4_t *
colsize_t

shz_vec4_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.