1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-13 12:40:04 +00:00

Make BulletShape::isAnimated inlined

This commit is contained in:
elsid 2021-10-30 03:41:19 +02:00
parent c83facd9d3
commit b731a981c4
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40
2 changed files with 1 additions and 6 deletions

View File

@ -84,11 +84,6 @@ void BulletShape::setLocalScaling(const btVector3& scale)
mAvoidCollisionShape->setLocalScaling(scale);
}
bool BulletShape::isAnimated() const
{
return !mAnimatedShapes.empty();
}
osg::ref_ptr<BulletShapeInstance> makeInstance(osg::ref_ptr<const BulletShape> source)
{
return {new BulletShapeInstance(std::move(source))};

View File

@ -49,7 +49,7 @@ namespace Resource
void setLocalScaling(const btVector3& scale);
bool isAnimated() const;
bool isAnimated() const { return !mAnimatedShapes.empty(); }
};