# shz_xmtrx_translate_reverse

Source: https://sh4zam.com/api/xmtrx/shz_xmtrx_translate_reverse/

```c
SHZ_INLINE void shz_xmtrx_translate_reverse(float x, float y, float z) SHZ_NOEXCEPT;
```

Pre-multiplies and accumulates XMTRX onto the 3D translation matrix with the given components.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `x` | `float` |  |
| `y` | `float` |  |
| `z` | `float` |  |

## Returns

Nothing (`void`).

## Naming and requirements

- `_reverse`: Reversed multiplication order (pre-multiply instead of post-multiply). ([Naming and Suffixes](https://sh4zam.com/concepts/naming-and-suffixes/))

## Availability

- **C++ equivalent:** [`shz::xmtrx::translate_reverse`](https://sh4zam.com/api/cpp/xmtrx/#translate_reverse)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_xmtrx.h:605`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_xmtrx.h#L605)
- **Module:** [XMTRX](https://sh4zam.com/api/xmtrx/), section "Reverse GL Transformations"
