# shz_quat_deref

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

> Dereferences the given pointer to a sequence of 4 floats (in WXYZ order) as a shz_quat_t

```c
#define shz_quat_deref(ptr) ((*((shz_alias_quat_t*)(ptr))).value)
```

Dereferences the given pointer to a sequence of 4 floats (in WXYZ order) as a [`shz_quat_t`](https://sh4zam.com/api/quat/shz_quat_t/).

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `ptr` |  |  |

## Availability

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