Skip to content

shz_xmtrx_apply_screen

Markdown
SHZ_INLINE void shz_xmtrx_apply_screen(float width, float height) SHZ_NOEXCEPT;

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

NameTypeDescription
widthfloat
heightfloat

Nothing (void).

fr[n + 0]fr[n + 4]fr[n + 8]fr[n + 12]
w*0.5f0.0f0.0fw*0.5f
0.0f-h*0.5f0.0fh*0.5f
0.0f0.0f1.0f0.0f
0.0f0.0f0.0f1.0f