# shz_vec_lerp

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

```c
#define shz_vec_lerp(vec1, vec2, t)
```

C type-generic linear interpolation between two vectors.

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `vec1` |  |  |
| `vec2` |  |  |
| `t` |  |  |

## Availability

- **C++ equivalent:** none (usable from C++ as is)
- **Back-ends:** n/a (not a function)
- **Defined in:** [`sh4zam/shz_vector.h:922`](https://github.com/gyrovorbis/sh4zam/blob/ba1e30c88d49df0311870b229e1dd860ef26c477/include/sh4zam/shz_vector.h#L922)
- **Module:** [Vector](https://sh4zam.com/api/vector/), section "Type-Generic Routines"
