add getNormalized()

This commit is contained in:
h4570 committed 2022-08-14 20:59:59 +02:00
1 parent 26596fa2c3
commit d0085e834e
2 files changed
+8

No files matched your search

+2
View File
@@ -87,6 +87,8 @@ class Vec4 {
/** Normalize vector */
void normalize();
Vec4 getNormalized() const;
/** Returns distance between two vectors */
float distanceTo(const Vec4& v) const;