mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Fix and prevent -Wextra-semi warning
This commit is contained in:
parent
bfa303f73b
commit
063fff7fa4
34 changed files with 111 additions and 107 deletions
|
@ -62,12 +62,12 @@ namespace SceneUtil
|
|||
osg::Camera* getCamera(osgUtil::CullVisitor* cv);
|
||||
|
||||
/// Set default settings - optionally override in derived classes
|
||||
virtual void setDefaults(osg::Camera* camera){};
|
||||
virtual void setDefaults(osg::Camera* camera) {}
|
||||
|
||||
/// Apply state - to override in derived classes
|
||||
/// @note Due to the view mapping approach you *have* to apply all camera settings, even if they have not
|
||||
/// changed since the last frame.
|
||||
virtual void apply(osg::Camera* camera){};
|
||||
virtual void apply(osg::Camera* camera) {}
|
||||
|
||||
/// Apply any state specific to the Left view. Default implementation does nothing. Called after apply()
|
||||
virtual void applyLeft(osg::Camera* camera) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue