mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-01 05:34:31 +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();
|
mBoundingBox.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void apply(osg::Drawable& drawable)
|
void apply(osg::Drawable& drawable) override
|
||||||
{
|
{
|
||||||
osg::BoundingBox bbox = drawable.getInitialBound();
|
osg::BoundingBox bbox = drawable.getInitialBound();
|
||||||
bbox.expandBy(drawable.computeBoundingBox());
|
bbox.expandBy(drawable.computeBoundingBox());
|
||||||
applyBoundingBox(bbox);
|
applyBoundingBox(bbox);
|
||||||
}
|
}
|
||||||
|
|
||||||
void apply(osg::Transform& transform)
|
void apply(osg::Transform& transform) override
|
||||||
{
|
{
|
||||||
osg::Matrix matrix;
|
osg::Matrix matrix;
|
||||||
if (!mMatrixStack.empty())
|
if (!mMatrixStack.empty())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue