Skip to content

shz_mat3x3_transpose

Markdown
SHZ_INLINE void shz_mat3x3_transpose(const shz_mat3x3_t* mat, shz_mat3x3_t* out) SHZ_NOEXCEPT;

Stores the transpose of 3x3 matrix mat within out.

NameTypeDescription
matconst shz_mat3x3_t *Pointer to the 3x3 matrix to transpose.
outshz_mat3x3_t *Pointer to the resulting transposed matrix.

Nothing (void).

  • This routine clobbers XMTRX.
  • _transpose: Operates with the transposed matrix (row-major input, or inverse-rotation use). (Naming and Suffixes)
  • C++ equivalent: none (call the C function from C++)
  • Type-generic form: none
  • Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_matrix.h:947
  • Module: Matrix, section "Functions"