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:
parent
c83facd9d3
commit
b731a981c4
@ -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…
x
Reference in New Issue
Block a user