Normalize
Summary
public static Vector4UByte Normalize(Vector3 vec, float range)
Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255)
public static Vector4UByte Normalize(Vector3 vec, float range)
Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255)