# shz_vec3_cubic_hermite

Source: https://sh4zam.com/api/vector/shz_vec3_cubic_hermite/

```c
SHZ_INLINE shz_vec3_t shz_vec3_cubic_hermite(shz_vec3_t vec, shz_vec3_t tangent1, shz_vec3_t vec2, shz_vec3_t tangent2, float amounht) SHZ_NOEXCEPT;
```

Calculates the cubic hermite interpolation between two vectors and their tangents.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `vec` | `shz_vec3_t` |  |
| `tangent1` | `shz_vec3_t` |  |
| `vec2` | `shz_vec3_t` |  |
| `tangent2` | `shz_vec3_t` |  |
| `amounht` | `float` |  |

## Returns

`shz_vec3_t`

## Availability

- **C++ equivalent:** [`shz::vec3::cubic_hermite`](https://sh4zam.com/api/cpp/vec3/#cubic_hermite)
- **Type-generic form:** none
- **Back-ends:** SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- **Defined in:** [`sh4zam/shz_vector.h:611`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_vector.h#L611)
- **Module:** [Vector](https://sh4zam.com/api/vector/), section "Miscellaneous"
