1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-30 07:04:31 +00:00

Some warnings for Clang

This commit is contained in:
AnyOldName3 2025-09-24 00:38:36 +01:00
parent 536e7b8881
commit 7ebb0cf577

View file

@ -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