mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-30 06:04:33 +00:00
Some warnings for Clang
This commit is contained in:
parent
536e7b8881
commit
7ebb0cf577
1 changed files with 3 additions and 3 deletions
|
|
@ -26,14 +26,14 @@ namespace SceneUtil
|
|||
mBoundingBox.init();
|
||||
}
|
||||
|
||||
void apply(osg::Drawable& drawable)
|
||||
void apply(osg::Drawable& drawable) override
|
||||
{
|
||||
osg::BoundingBox bbox = drawable.getInitialBound();
|
||||
bbox.expandBy(drawable.computeBoundingBox());
|
||||
applyBoundingBox(bbox);
|
||||
}
|
||||
|
||||
void apply(osg::Transform& transform)
|
||||
void apply(osg::Transform& transform) override
|
||||
{
|
||||
osg::Matrix matrix;
|
||||
if (!mMatrixStack.empty())
|
||||
|
|
@ -63,4 +63,4 @@ namespace SceneUtil
|
|||
std::vector<osg::Matrix> mMatrixStack;
|
||||
};
|
||||
}
|
||||
#endif // OPENMW_COMPONENTS_SCENEUTIL_CULLSAFEBOUNDSVISITOR_H
|
||||
#endif // OPENMW_COMPONENTS_SCENEUTIL_CULLSAFEBOUNDSVISITOR_H
|
||||
|
|
|
|||
Loading…
Reference in a new issue