Skip to content

shz_mat4x4_init_lower_triangular

Markdown
SHZ_INLINE void shz_mat4x4_init_lower_triangular(shz_mat4x4_t* mat, shz_vec4_t col1, shz_vec3_t col2, shz_vec2_t col3, float col4) SHZ_NOEXCEPT;

Initializes the given matrix to a lower triangular matrix whose nonzero entries have the given value.

NameTypeDescription
matshz_mat4x4_t *
col1shz_vec4_t
col2shz_vec3_t
col3shz_vec2_t
col4float

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.