cf_safe_norm¶ Category: math GitHub: cute_math.h Returns a normalized vector. CF_V2 cf_safe_norm(CF_V2 a) Remarks¶ Sets the vector to { 0, 0 } if the length of the vector is zero. Unlike cf_norm, this function cannot fail for the case of a zero vector. Related Pages¶ CF_V2 cf_len cf_distance cf_norm