Make BulletShape::isAnimated inlined

pull/3212/head
elsid 3 years ago
parent c83facd9d3
commit b731a981c4
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -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))};

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

Loading…
Cancel
Save