shz_vec3_cubic_hermite
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
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec | shz_vec3_t | |
tangent1 | shz_vec3_t | |
vec2 | shz_vec3_t | |
tangent2 | shz_vec3_t | |
amounht | float |
Returns
Section titled “Returns”shz_vec3_t
Availability
Section titled “Availability”- C++ equivalent:
shz::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 - Module: Vector, section "Miscellaneous"