_lastKinematicStep now mutable, avoids explicit const_cast

This commit is contained in:
Andrew Meadows 2018-04-19 15:15:26 -07:00
parent 286d09939d
commit ed62a2fc37

View file

@ -184,7 +184,7 @@ protected:
btRigidBody* _body { nullptr };
float _density { 1.0f };
uint32_t _lastKinematicStep;
mutable uint32_t _lastKinematicStep;
bool _hasInternalKinematicChanges { false };
};