The overloaded function should be const, true.

This commit is contained in:
Andrzej Kapolka 2014-01-03 17:59:15 -08:00
parent 1bd069c4e2
commit e37203d833

View file

@ -115,7 +115,7 @@ public:
/// \param skeletonSkipIndex if not -1, the index of a joint to skip (along with its descendents) in the skeleton model
/// \return whether or not the sphere penetrated
virtual bool findSpherePenetration(const glm::vec3& penetratorCenter, float penetratorRadius,
glm::vec3& penetration, int skeletonSkipIndex = -1) { return false; }
glm::vec3& penetration, int skeletonSkipIndex = -1) const { return false; }
protected:
QUuid _uuid;