Skip to content

shz_mat4x4_init_outer_product

Markdown
SHZ_INLINE void shz_mat4x4_init_outer_product(shz_mat4x4_t* mat, shz_vec4_t v1, shz_vec4_t v2) SHZ_NOEXCEPT;

Initializes the given matrix to be the result from taking the outer product of the two given 4D vectors.

NameTypeDescription
matshz_mat4x4_t *
v1shz_vec4_t
v2shz_vec4_t

Nothing (void).

  • This routine clobbers XMTRX.
  • 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.