Skip to content
Snippets Groups Projects
Commit dd6770d9 authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

added missing const

parent 17a5ae58
No related merge requests found
...@@ -48,7 +48,7 @@ public: ...@@ -48,7 +48,7 @@ public:
/// Sets the global linear acceleration. /// Sets the global linear acceleration.
/// This can be used for example to set a gravitational force. /// This can be used for example to set a gravitational force.
inline void setGlobalLinearAcceleration(const Vec3& acc) { globalLinearAcceleration_ = acc; } inline void setGlobalLinearAcceleration(const Vec3& acc) { globalLinearAcceleration_ = acc; }
inline const Vec3& getGlobalLinearAcceleration() { return globalLinearAcceleration_; } inline const Vec3& getGlobalLinearAcceleration() const { return globalLinearAcceleration_; }
virtual inline real_t getMaximumPenetration() const; virtual inline real_t getMaximumPenetration() const;
virtual inline size_t getNumberOfContacts() const; virtual inline size_t getNumberOfContacts() const;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment