Skip to content

shz_mat4x4_apply_screen

Markdown
SHZ_INLINE void shz_mat4x4_apply_screen(shz_mat4x4_t* m, float width, float height) SHZ_NOEXCEPT;

Multiplies and accumulates the viewport matrix created with the given components ont othe given matrix.

NameTypeDescription
mshz_mat4x4_t *
widthfloat
heightfloat

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.