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:
parent
7e22c72492
commit
61551cfc3a
381 changed files with 680 additions and 1632 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue