Skip to content

Commit

Permalink
Main: add override to nodeless positioning methods
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Sep 10, 2022
1 parent d49dc19 commit fce9b33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 2 additions & 4 deletions OgreMain/include/OgreCamera.h
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,8 @@ namespace Ogre {
OGRE_DEPRECATED void setAutoTracking(bool enabled, SceneNode* const target = 0,
const Vector3& offset = Vector3::ZERO);

/** Get the derived position of this frustum. */
const Vector3& getPositionForViewUpdate(void) const;
/** Get the derived orientation of this frustum. */
const Quaternion& getOrientationForViewUpdate(void) const;
const Vector3& getPositionForViewUpdate(void) const override;
const Quaternion& getOrientationForViewUpdate(void) const override;
#endif
/** Tells the Camera to contact the SceneManager to render from it's viewpoint.
@param vp The viewport to render to
Expand Down
7 changes: 2 additions & 5 deletions OgreMain/include/OgreLight.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,8 @@ namespace Ogre {
*/
OGRE_DEPRECATED const Vector3& getDirection(void) const;

/** @copydoc MovableObject::_notifyAttached */
void _notifyAttached(Node* parent, bool isTagPoint = false);

/** @copydoc MovableObject::_notifyMoved */
void _notifyMoved(void);
void _notifyAttached(Node* parent, bool isTagPoint = false) override;
void _notifyMoved(void) override;
#endif
/** Sets the range of a spotlight, i.e. the angle of the inner and outer cones
and the rate of falloff between them.
Expand Down

0 comments on commit fce9b33

Please sign in to comment.