shz_vec_normalize_or
#define shz_vec_normalize_or(vec, alt)C type-generic vector normalization, returning an alternate value upon failure.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
vec | ||
alt |
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:1523 - Module: Vector, section "Type-Generic Routines"