Skip to content

shz_mat4x4_swap_cols

Markdown
SHZ_INLINE void shz_mat4x4_swap_cols(shz_mat4x4_t* mat, size_t col1, size_t col2) SHZ_NOEXCEPT;

Swaps the 4D column vectors located at col1 and col2 within mat.

NameTypeDescription
matshz_mat4x4_t *
col1size_t
col2size_t

Nothing (void).

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