1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +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

@ -8,8 +8,6 @@
#include "ICameraSceneNode.h"
#include "os.h"
namespace irr
{
namespace scene
{
@ -86,7 +84,7 @@ void CBillboardSceneNode::render()
}
}
void CBillboardSceneNode::updateMesh(const irr::scene::ICameraSceneNode *camera)
void CBillboardSceneNode::updateMesh(const scene::ICameraSceneNode *camera)
{
// billboard looks toward camera
core::vector3df pos = getAbsolutePosition();
@ -139,7 +137,7 @@ const core::aabbox3d<f32> &CBillboardSceneNode::getBoundingBox() const
return BBoxSafe;
}
const core::aabbox3d<f32> &CBillboardSceneNode::getTransformedBillboardBoundingBox(const irr::scene::ICameraSceneNode *camera)
const core::aabbox3d<f32> &CBillboardSceneNode::getTransformedBillboardBoundingBox(const scene::ICameraSceneNode *camera)
{
updateMesh(camera);
return Buffer->BoundingBox;
@ -264,4 +262,3 @@ ISceneNode *CBillboardSceneNode::clone(ISceneNode *newParent, ISceneManager *new
}
} // end namespace scene
} // end namespace irr