Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector4UByte.Normalize

Malware edited this page Dec 24, 2018 · 17 revisions

IndexVector4UByte

Vector4UByte Normalize(Vector3 vec, float range)

Summary

Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255)

Clone this wiki locally