# shz_quat_angle_between

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

> Returns the angle in radians between the rotations represented by quaternions q and p

```c
SHZ_INLINE float shz_quat_angle_between(shz_quat_t q, shz_quat_t p) SHZ_NOEXCEPT;
```

Returns the angle in radians between the rotations represented by quaternions `q` and `p`.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `q` | `shz_quat_t` |  |
| `p` | `shz_quat_t` |  |

## Returns

`float`

## Availability

- **C++ equivalent:** [`shz::quat::angle_between`](https://sh4zam.com/api/cpp/quat/#angle_between)
- **Type-generic form:** none
- **Back-ends:** SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_quat.h:246`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_quat.h#L246)
- **Module:** [Quaternion](https://sh4zam.com/api/quat/), section "Miscellaneous"
