Add missing override keyword

This commit is contained in:
Daniel Chappuis 2016-08-21 12:34:27 +02:00
parent 8d2b898168
commit 8a69dc89fa
8 changed files with 8 additions and 8 deletions

View File

@ -100,7 +100,7 @@ class BoxShape : public ConvexShape {
virtual void getLocalBounds(Vector3& min, Vector3& max) const override;
/// Return true if the collision shape is a polyhedron
virtual bool isPolyhedron() const;
virtual bool isPolyhedron() const override;
/// Return the local inertia tensor of the collision shape
virtual void computeLocalInertiaTensor(Matrix3x3& tensor, decimal mass) const override;

View File

@ -102,7 +102,7 @@ class CapsuleShape : public ConvexShape {
virtual void getLocalBounds(Vector3& min, Vector3& max) const override;
/// Return true if the collision shape is a polyhedron
virtual bool isPolyhedron() const;
virtual bool isPolyhedron() const override;
/// Return the local inertia tensor of the collision shape
virtual void computeLocalInertiaTensor(Matrix3x3& tensor, decimal mass) const override;

View File

@ -105,7 +105,7 @@ class ConcaveShape : public CollisionShape {
virtual bool isConvex() const override;
/// Return true if the collision shape is a polyhedron
virtual bool isPolyhedron() const;
virtual bool isPolyhedron() const override;
/// Use a callback method on all triangles of the concave shape inside a given AABB
virtual void testAllTriangles(TriangleCallback& callback, const AABB& localAABB) const=0;

View File

@ -108,7 +108,7 @@ class ConeShape : public ConvexShape {
virtual void getLocalBounds(Vector3& min, Vector3& max) const override;
/// Return true if the collision shape is a polyhedron
virtual bool isPolyhedron() const;
virtual bool isPolyhedron() const override;
/// Return the local inertia tensor of the collision shape
virtual void computeLocalInertiaTensor(Matrix3x3& tensor, decimal mass) const override;

View File

@ -141,7 +141,7 @@ class ConvexMeshShape : public ConvexShape {
void addEdge(uint v1, uint v2);
/// Return true if the collision shape is a polyhedron
virtual bool isPolyhedron() const;
virtual bool isPolyhedron() const override;
/// Return true if the edges information is used to speed up the collision detection
bool isEdgesInformationUsed() const;

View File

@ -99,7 +99,7 @@ class CylinderShape : public ConvexShape {
decimal getHeight() const;
/// Return true if the collision shape is a polyhedron
virtual bool isPolyhedron() const;
virtual bool isPolyhedron() const override;
/// Set the scaling vector of the collision shape
virtual void setLocalScaling(const Vector3& scaling) override;

View File

@ -81,7 +81,7 @@ class SphereShape : public ConvexShape {
decimal getRadius() const;
/// Return true if the collision shape is a polyhedron
virtual bool isPolyhedron() const;
virtual bool isPolyhedron() const override;
/// Set the scaling vector of the collision shape
virtual void setLocalScaling(const Vector3& scaling) override;

View File

@ -117,7 +117,7 @@ class TriangleShape : public ConvexShape {
Vector3 getVertex(int index) const;
/// Return true if the collision shape is a polyhedron
virtual bool isPolyhedron() const;
virtual bool isPolyhedron() const override;
// ---------- Friendship ---------- //