Compare commits
No commits in common. "e6919562233d75195b7212ba021fe7a81c35cb48" and "1f5fdcc197fa514b59a73bf0cfefd04ca303c9a2" have entirely different histories.
e691956223
...
1f5fdcc197
@ -37,7 +37,7 @@ public:
|
||||
inline constexpr typename mat<3, 3, T>::row_type const &
|
||||
operator[](int i) const;
|
||||
|
||||
//void operator=(const mat<3, 3, T>&) = delete;
|
||||
void operator=(const mat<3, 3, T>&) = delete;
|
||||
|
||||
};
|
||||
|
||||
|
@ -18,8 +18,7 @@ inline constexpr T magnitude_squared(vec<L, T> const& v)
|
||||
template <int L, typename T>
|
||||
inline constexpr vec<3, T> normalize(vec<L, T> const& v)
|
||||
{
|
||||
T d = 1.0f / magnitude(v);
|
||||
return v * d;
|
||||
return v / magnitude(v);
|
||||
}
|
||||
|
||||
template <int L, typename T>
|
||||
|
Loading…
x
Reference in New Issue
Block a user