shz_vec_smoothstep_safe
#define shz_vec_smoothstep_safe(vec, edge0, edge1)C type-generic smoothstep_safe.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec | ||
edge0 | ||
edge1 |
Naming and requirements
Section titled “Naming and requirements”_safe: Guards degenerate input (zero-length vectors, zero denominators) at a small cost. (Naming and Suffixes)
Availability
Section titled “Availability”- C++ equivalent: none (usable from C++ as is)
- Back-ends: n/a (not a function)
- Defined in:
sh4zam/shz_vector.h:1087 - Module: Vector, section "Type-Generic Routines"