shz_xmtrx_rotate
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).
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
radians | float | |
xAxis | float | |
yAxis | float | |
zAxis | float |
Returns
Section titled “Returns”Nothing (void).
Availability
Section titled “Availability”- 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"