1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00: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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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);