mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
v2d & aabbox3d<f32> & sky cleanups
* Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
This commit is contained in:
parent
24b312cc08
commit
fefa148d69
21 changed files with 39 additions and 44 deletions
|
@ -53,7 +53,7 @@ public:
|
|||
|
||||
virtual void render();
|
||||
|
||||
virtual const core::aabbox3d<f32>& getBoundingBox() const
|
||||
virtual const aabb3f &getBoundingBox() const
|
||||
{ return m_bounding_box; }
|
||||
|
||||
private:
|
||||
|
@ -74,7 +74,7 @@ private:
|
|||
// Bounding box culling is disabled for this type of scene node,
|
||||
// so this variable is just required so we can implement
|
||||
// getBoundingBox() and is set to an empty box.
|
||||
core::aabbox3d<f32> m_bounding_box;
|
||||
aabb3f m_bounding_box;
|
||||
};
|
||||
|
||||
scene::IMesh *getItemMesh(IGameDef *gamedef, const ItemStack &item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue