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:
cutealien 2022-04-12 21:58:35 +00:00
parent f9c85f380d
commit 456bf86e66
2 changed files with 4 additions and 4 deletions

View File

@ -73,13 +73,13 @@ public:
virtual const core::aabbox3d<f32>& getTransformedBillboardBoundingBox(const irr::scene::ICameraSceneNode* camera) IRR_OVERRIDE; virtual const core::aabbox3d<f32>& getTransformedBillboardBoundingBox(const irr::scene::ICameraSceneNode* camera) IRR_OVERRIDE;
//! Get the amount of mesh buffers. //! Get the amount of mesh buffers.
virtual u32 getMeshBufferCount() const virtual u32 getMeshBufferCount() const IRR_OVERRIDE
{ {
return Buffer ? 1 : 0; return Buffer ? 1 : 0;
} }
//! Get pointer to the mesh buffer. //! Get pointer to the mesh buffer.
virtual IMeshBuffer* getMeshBuffer(u32 nr) const virtual IMeshBuffer* getMeshBuffer(u32 nr) const IRR_OVERRIDE
{ {
if ( nr == 0 ) if ( nr == 0 )
return Buffer; return Buffer;

View File

@ -146,13 +146,13 @@ namespace scene
virtual const core::aabbox3d<f32>& getTransformedBillboardBoundingBox(const irr::scene::ICameraSceneNode* camera) IRR_OVERRIDE; virtual const core::aabbox3d<f32>& getTransformedBillboardBoundingBox(const irr::scene::ICameraSceneNode* camera) IRR_OVERRIDE;
//! Get the amount of mesh buffers. //! Get the amount of mesh buffers.
virtual u32 getMeshBufferCount() const virtual u32 getMeshBufferCount() const IRR_OVERRIDE
{ {
return Mesh ? Mesh->getMeshBufferCount() : 0; return Mesh ? Mesh->getMeshBufferCount() : 0;
} }
//! Get pointer to the mesh buffer. //! 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; return Mesh ? Mesh->getMeshBuffer(nr) : 0;
} }