# shz_xmtrx_rotate_quat

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

```c
SHZ_INLINE void shz_xmtrx_rotate_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::rotate_quat`](https://sh4zam.com/api/cpp/xmtrx/#rotate_quat)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_xmtrx.h:587`](https://github.com/gyrovorbis/sh4zam/blob/6b22b851ad9ca109049f956dbbbecf7c519c959f/include/sh4zam/shz_xmtrx.h#L587)
- **Module:** [XMTRX](https://sh4zam.com/api/xmtrx/), section "Apply Operation"
