shz_vec3_lerp
SHZ_INLINE shz_vec3_t shz_vec3_lerp(shz_vec3_t a, shz_vec3_t b, float t) SHZ_NOEXCEPT;Returns a 3D vector that is linearly interpolated from a to b by the given 0.0f-1.0f factor, t.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
a | shz_vec3_t | |
b | shz_vec3_t | |
t | float |
Returns
Section titled “Returns”shz_vec3_t
Availability
Section titled “Availability”- C++ equivalent:
shz::vec3::lerp - Type-generic form:
shz_vec_lerp() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:523 - Module: Vector, section "Binary Operations"