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

@ -11,8 +11,6 @@
#include <climits> // For INT_MAX / UINT_MAX
#include <type_traits>
namespace irr
{
namespace core
{
@ -199,8 +197,8 @@ union FloatIntUnion32
// Portable sign-extraction
bool sign() const { return (i >> 31) != 0; }
irr::s32 i;
irr::f32 f;
s32 i;
f32 f;
};
//! We compare the difference in ULP's (spacing between floating-point numbers, aka ULP=1 means there exists no float between).
@ -460,7 +458,6 @@ inline f32 fract(f32 x)
}
} // end namespace core
} // end namespace irr
using irr::core::FR;
using irr::core::IR;
using core::FR;
using core::IR;