const
parent
86820b779d
commit
e6298271e4
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue