# shz_quat_to

Source: https://sh4zam.com/api/quat/shz_quat_to/

> Conversion operator for converting a shz_quat_t into any compatible-type value

```c
#define shz_quat_to(type, quat) SHZ_CONVERT(type, quat)
```

Conversion operator for converting a [`shz_quat_t`](https://sh4zam.com/api/quat/shz_quat_t/) into any compatible-type value.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `type` |  |  |
| `quat` |  |  |

## Availability

- **C++ equivalent:** none (usable from C++ as is)
- **Back-ends:** n/a (not a function)
- **Defined in:** [`sh4zam/shz_quat.h:499`](https://github.com/gyrovorbis/sh4zam/blob/6b22b851ad9ca109049f956dbbbecf7c519c959f/include/sh4zam/shz_quat.h#L499)
- **Module:** [Quaternion](https://sh4zam.com/api/quat/), section "Adapters"
