diff options
author | JosiahWI <josiah_vanderzee@mediacombb.net> | 2022-10-09 13:57:28 -0500 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-10-15 01:09:09 +0200 |
commit | 59fc4401f1e9edb5d7c0162f2fd221e6df9421fa (patch) | |
tree | 483622113dd58d84f8b15bb9764c43763cdf0e27 /include/IBoneSceneNode.h | |
parent | f3a1f9f6560c82974f2254d6518f9cd4f4e692b6 (diff) | |
download | irrlicht-59fc4401f1e9edb5d7c0162f2fd221e6df9421fa.tar.xz |
Replace _IRR_OVERRIDE_ macro with override keyword
The commit also establishes a precedent of leaving off the `virtual`
keyword in overrides. Although not strictly necessary, I believe this is
good for readability because it makes it clear it is an override and not
a pure virtual function, and it helps keep line lengths shorter. We
should move towards eliminating the macro altogether, but the definition
has been left in with a note on deprecation so that in-progress work
will not suffer merge conflicts.
Diffstat (limited to 'include/IBoneSceneNode.h')
-rw-r--r-- | include/IBoneSceneNode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/IBoneSceneNode.h b/include/IBoneSceneNode.h index a96a28b..8cc8c07 100644 --- a/include/IBoneSceneNode.h +++ b/include/IBoneSceneNode.h @@ -74,17 +74,17 @@ namespace scene virtual E_BONE_ANIMATION_MODE getAnimationMode() const = 0;
//! Get the axis aligned bounding box of this node
- virtual const core::aabbox3d<f32>& getBoundingBox() const _IRR_OVERRIDE_ = 0;
+ const core::aabbox3d<f32>& getBoundingBox() const override = 0;
//! Returns the relative transformation of the scene node.
//virtual core::matrix4 getRelativeTransformation() const = 0;
//! The animation method.
- virtual void OnAnimate(u32 timeMs) _IRR_OVERRIDE_ =0;
+ void OnAnimate(u32 timeMs) override =0;
//! The render method.
/** Does nothing as bones are not visible. */
- virtual void render() _IRR_OVERRIDE_ { }
+ void render() override { }
//! How the relative transformation of the bone is used
virtual void setSkinningSpace( E_BONE_SKINNING_SPACE space ) =0;
|