cf_clamp01_v2¶ Category: math GitHub: cute_math.h Returns x with each component clamped between 0 and 1. CF_V2 cf_clamp01_v2 (CF_V2 x) { return cf_max_v2(cf_v2(0), cf_min_v2(x, cf_v2(1))); } Related Pages¶ cf_clamp01 cf_clamp_v2 cf_min_v2 cf_max_v2 cf_abs_v2