# shz_quat_from

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

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

```c
#define shz_quat_from(value) SHZ_CONVERT(shz_quat_t, value)
```

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

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `value` |  |  |

## Availability

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