shz_vec3_smoothstep
SHZ_INLINE shz_vec3_t shz_vec3_smoothstep(shz_vec3_t vec, float edge0, float edge1) SHZ_NOEXCEPT;For each component: returns 0.0f at/below edge0, 1.0f at/above edge1, smoothly varying in-between.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec | shz_vec3_t | |
edge0 | float | |
edge1 | float |
Returns
Section titled “Returns”shz_vec3_t
Availability
Section titled “Availability”- C++ equivalent:
shz::vec3::smoothstep - Type-generic form:
shz_vec_smoothstep() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:294 - Module: Vector, section "Component-wise Operations"