shz_xmtrx_translate
SHZ_INLINE void shz_xmtrx_translate(float x, float y, float z) SHZ_NOEXCEPT;Multiplies and accumulates XMTRX by a 3D translation matrix with the given components (glTranslatef() equivalent).
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x | float | |
y | float | |
z | float |
Returns
Section titled “Returns”Nothing (void).
Availability
Section titled “Availability”- C++ equivalent:
shz::xmtrx::translate - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_xmtrx.h:568 - Module: XMTRX, section "GL Transformations"