Fix return value

master
Marc Gilleron 2022-07-18 21:27:28 +01:00
parent f77e570b68
commit 151b795357
1 changed files with 2 additions and 2 deletions

View File

@ -145,12 +145,12 @@ namespace math {
template <typename T> template <typename T>
inline Vector3T<T> min(const Vector3T<T> a, const Vector3T<T> b) { inline Vector3T<T> min(const Vector3T<T> a, const Vector3T<T> b) {
return Vector3f(min(a.x, b.x), min(a.y, b.y), min(a.z, b.z)); return Vector3T<T>(min(a.x, b.x), min(a.y, b.y), min(a.z, b.z));
} }
template <typename T> template <typename T>
inline Vector3T<T> max(const Vector3T<T> a, const Vector3T<T> b) { inline Vector3T<T> max(const Vector3T<T> a, const Vector3T<T> b) {
return Vector3f(max(a.x, b.x), max(a.y, b.y), max(a.z, b.z)); return Vector3T<T>(max(a.x, b.x), max(a.y, b.y), max(a.z, b.z));
} }
template <typename T> template <typename T>