mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Remove irr
namespace (#16309)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user