Skip to content

Commit

Permalink
fix(issue): compilation issue (not using first operands
Browse files Browse the repository at this point in the history
  • Loading branch information
wpumacay committed Apr 30, 2023
1 parent 895937f commit 20d9bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/math/vec3_t.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,12 @@ auto Vector3<T>::normalized() const -> Vector3<T> {

template <typename T>
auto Vector3<T>::dot(const Vector3<T>& rhs) const -> T {
return ::math::dot<T>(rhs);
return ::math::dot<T>(*this, rhs);
}

template <typename T>
auto Vector3<T>::cross(const Vector3<T>& rhs) const -> Vector3<T> {
return ::math::cross<T>(rhs);
return ::math::cross<T>(*this, rhs);
}

} // namespace math

0 comments on commit 20d9bff

Please sign in to comment.