feat(vector): add C3Vector::Normalize

This commit is contained in:
fallenoak 2020-11-26 10:59:42 -06:00
parent e38af58adb
commit 4278157faf
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
3 changed files with 23 additions and 0 deletions

View file

@ -16,6 +16,7 @@ class C3Vector {
, z(z) {};
C3Vector& operator*=(float a);
float Mag() const;
void Normalize();
float SquaredMag() const;
};