Skip to content

shz_xmtrx_rotate

Markdown
SHZ_INLINE void shz_xmtrx_rotate(float radians, float xAxis, float yAxis, float zAxis) SHZ_NOEXCEPT;

Multiplies and accumulates XMTRX by the 3D rotation matrix formed by the given axis and angle (glRotatef equivalent).

NameTypeDescription
radiansfloat
xAxisfloat
yAxisfloat
zAxisfloat

Nothing (void).

  • C++ equivalent: shz::xmtrx::rotate
  • Type-generic form: none
  • Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_xmtrx.h:595
  • Module: XMTRX, section "GL Transformations"