Move free operator overloads inside Nz namespace

This commit is contained in:
SirLynix
2022-12-29 12:15:22 +01:00
parent 763bef3fdd
commit 2243d0b1a7
32 changed files with 419 additions and 432 deletions

View File

@@ -33,6 +33,8 @@ namespace Nz
Box(Box&&) noexcept = default;
~Box() = default;
bool ApproxEquals(const Box& box, T maxDifference = 0) const;
bool Contains(T X, T Y, T Z) const;
bool Contains(const Box& box) const;
bool Contains(const Vector3<T>& point) const;
@@ -93,12 +95,10 @@ namespace Nz
template<typename T> bool Serialize(SerializationContext& context, const Box<T>& box, TypeTag<Box<T>>);
template<typename T> bool Unserialize(SerializationContext& context, Box<T>* box, TypeTag<Box<T>>);
template<typename T> std::ostream& operator<<(std::ostream& out, const Nz::Box<T>& box);
}
template<typename T>
std::ostream& operator<<(std::ostream& out, const Nz::Box<T>& box);
#include <Nazara/Math/Box.inl>
#endif // NAZARA_MATH_BOX_HPP