Add missing overrides to fix compiler warnings

This commit is contained in:
ndren 2022-04-30 15:53:53 +01:00 committed by GitHub
parent ba0396e93d
commit 24594ce226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 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;