mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-24 15:12:24 +01:00
Add missing IRR_OVERRIDE in some functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6332 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
f9c85f380d
commit
456bf86e66
@ -73,13 +73,13 @@ public:
|
||||
virtual const core::aabbox3d<f32>& getTransformedBillboardBoundingBox(const irr::scene::ICameraSceneNode* camera) IRR_OVERRIDE;
|
||||
|
||||
//! Get the amount of mesh buffers.
|
||||
virtual u32 getMeshBufferCount() const
|
||||
virtual u32 getMeshBufferCount() const IRR_OVERRIDE
|
||||
{
|
||||
return Buffer ? 1 : 0;
|
||||
}
|
||||
|
||||
//! Get pointer to the mesh buffer.
|
||||
virtual IMeshBuffer* getMeshBuffer(u32 nr) const
|
||||
virtual IMeshBuffer* getMeshBuffer(u32 nr) const IRR_OVERRIDE
|
||||
{
|
||||
if ( nr == 0 )
|
||||
return Buffer;
|
||||
|
@ -146,13 +146,13 @@ namespace scene
|
||||
virtual const core::aabbox3d<f32>& getTransformedBillboardBoundingBox(const irr::scene::ICameraSceneNode* camera) IRR_OVERRIDE;
|
||||
|
||||
//! Get the amount of mesh buffers.
|
||||
virtual u32 getMeshBufferCount() const
|
||||
virtual u32 getMeshBufferCount() const IRR_OVERRIDE
|
||||
{
|
||||
return Mesh ? Mesh->getMeshBufferCount() : 0;
|
||||
}
|
||||
|
||||
//! Get pointer to the mesh buffer.
|
||||
virtual IMeshBuffer* getMeshBuffer(u32 nr) const
|
||||
virtual IMeshBuffer* getMeshBuffer(u32 nr) const IRR_OVERRIDE
|
||||
{
|
||||
return Mesh ? Mesh->getMeshBuffer(nr) : 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user