Skip to content

shz_vec_clamp

Markdown
#define shz_vec_clamp(vec, min, max)

C type-generic vector minimum value.

NameTypeDescription
vec
min
max
  • C++ equivalent: none (usable from C++ as is)
  • Back-ends: n/a (not a function)
  • Defined in: sh4zam/shz_vector.h:796
  • Module: Vector, section "Type-Generic Routines"