diff --git a/components/resource/bulletshape.cpp b/components/resource/bulletshape.cpp index 1d4be1d14d..52d639d272 100644 --- a/components/resource/bulletshape.cpp +++ b/components/resource/bulletshape.cpp @@ -84,11 +84,6 @@ void BulletShape::setLocalScaling(const btVector3& scale) mAvoidCollisionShape->setLocalScaling(scale); } -bool BulletShape::isAnimated() const -{ - return !mAnimatedShapes.empty(); -} - osg::ref_ptr makeInstance(osg::ref_ptr source) { return {new BulletShapeInstance(std::move(source))}; diff --git a/components/resource/bulletshape.hpp b/components/resource/bulletshape.hpp index 1065f3893b..7188165045 100644 --- a/components/resource/bulletshape.hpp +++ b/components/resource/bulletshape.hpp @@ -49,7 +49,7 @@ namespace Resource void setLocalScaling(const btVector3& scale); - bool isAnimated() const; + bool isAnimated() const { return !mAnimatedShapes.empty(); } };