/ should be *

This commit is contained in:
Jonathan 2022-06-26 01:22:03 -04:00
parent 033a84cac8
commit 00485553f3
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ template<size_t N, class T>
[[nodiscard]] inline qvec<T, N> normalize(const qvec<T, N> &v1, T &len)
{
len = length2(v1);
return len ? (v1 / (1.0 / std::sqrt(len))) : v1;
return len ? (v1 * (1.0 / std::sqrt(len))) : v1;
}
template<size_t N, class T>