Brett 2023-03-14 18:05:24 -04:00
parent 86820b779d
commit e6298271e4
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ namespace blt {
return std::sqrt(total); return std::sqrt(total);
} }
[[nodiscard]] inline vec<T, size>& normalize() const { [[nodiscard]] inline vec<T, size> normalize() const {
auto mag = this->magnitude(); auto mag = this->magnitude();
if (mag == 0) if (mag == 0)
return *this; return *this;