Skip to content

shz_xmtrx_screen

Markdown
SHZ_INLINE void shz_xmtrx_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
  • C++ equivalent: shz::xmtrx::screen
  • Type-generic form: none
  • Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_xmtrx.h:618
  • Module: XMTRX, section "Apply Operation"