shz_vec3_smoothstepv
SHZ_INLINE shz_vec3_t shz_vec3_smoothstepv(shz_vec3_t vec, shz_vec3_t edge0, shz_vec3_t edge1) SHZ_NOEXCEPT;For each component i: returns 0.0f at/below edge0[i], 1.0f at/above edge1[i], smoothly varying in-between.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec | shz_vec3_t | |
edge0 | shz_vec3_t | |
edge1 | shz_vec3_t |
Returns
Section titled “Returns”shz_vec3_t
Availability
Section titled “Availability”- C++ equivalent: none (call the C function from C++)
- Type-generic form:
shz_vec_smoothstepv() - Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_vector.h:303 - Module: Vector, section "Component-wise Operations"