# shz_xmtrx_apply_rotation_quat

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

```c
SHZ_INLINE void shz_xmtrx_apply_rotation_quat(shz_quat_t quat) SHZ_NOEXCEPT;
```

Transforms the values of the inner 3x3 matrix by the rotation matrix represented by the given quaternion.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `quat` | `shz_quat_t` |  |

## Returns

Nothing (`void`).

## Availability

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