Skip to content

shz_mat4x4_swap_rows

Markdown
SHZ_INLINE void shz_mat4x4_swap_rows(shz_mat4x4_t* mat, size_t row1, size_t row2) SHZ_NOEXCEPT;

Swaps the 4D row vectors located at row1 and row2 within mat.

NameTypeDescription
matshz_mat4x4_t *
row1size_t
row2size_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.