1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Remove irr namespace (#16309)

This commit is contained in:
Lars Müller
2025-07-09 10:35:52 +02:00
committed by GitHub
parent 7e22c72492
commit 61551cfc3a
381 changed files with 680 additions and 1632 deletions

View File

@@ -10,8 +10,6 @@
#include <array>
#include <cassert>
namespace irr
{
namespace core
{
@@ -528,15 +526,14 @@ vector3d<T> operator*(const S scalar, const vector3d<T> &vector)
}
} // end namespace core
} // end namespace irr
namespace std
{
template <class T>
struct hash<irr::core::vector3d<T>>
struct hash<core::vector3d<T>>
{
size_t operator()(const irr::core::vector3d<T> &vec) const
size_t operator()(const core::vector3d<T> &vec) const
{
size_t h1 = hash<T>()(vec.X);
size_t h2 = hash<T>()(vec.Y);