Add missing override keyword
This commit is contained in:
parent
8d2b898168
commit
8a69dc89fa
|
@ -100,7 +100,7 @@ class BoxShape : public ConvexShape {
|
||||||
virtual void getLocalBounds(Vector3& min, Vector3& max) const override;
|
virtual void getLocalBounds(Vector3& min, Vector3& max) const override;
|
||||||
|
|
||||||
/// Return true if the collision shape is a polyhedron
|
/// 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
|
/// Return the local inertia tensor of the collision shape
|
||||||
virtual void computeLocalInertiaTensor(Matrix3x3& tensor, decimal mass) const override;
|
virtual void computeLocalInertiaTensor(Matrix3x3& tensor, decimal mass) const override;
|
||||||
|
|
|
@ -102,7 +102,7 @@ class CapsuleShape : public ConvexShape {
|
||||||
virtual void getLocalBounds(Vector3& min, Vector3& max) const override;
|
virtual void getLocalBounds(Vector3& min, Vector3& max) const override;
|
||||||
|
|
||||||
/// Return true if the collision shape is a polyhedron
|
/// 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
|
/// Return the local inertia tensor of the collision shape
|
||||||
virtual void computeLocalInertiaTensor(Matrix3x3& tensor, decimal mass) const override;
|
virtual void computeLocalInertiaTensor(Matrix3x3& tensor, decimal mass) const override;
|
||||||
|
|
|
@ -105,7 +105,7 @@ class ConcaveShape : public CollisionShape {
|
||||||
virtual bool isConvex() const override;
|
virtual bool isConvex() const override;
|
||||||
|
|
||||||
/// Return true if the collision shape is a polyhedron
|
/// 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
|
/// 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;
|
virtual void testAllTriangles(TriangleCallback& callback, const AABB& localAABB) const=0;
|
||||||
|
|
|
@ -108,7 +108,7 @@ class ConeShape : public ConvexShape {
|
||||||
virtual void getLocalBounds(Vector3& min, Vector3& max) const override;
|
virtual void getLocalBounds(Vector3& min, Vector3& max) const override;
|
||||||
|
|
||||||
/// Return true if the collision shape is a polyhedron
|
/// 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
|
/// Return the local inertia tensor of the collision shape
|
||||||
virtual void computeLocalInertiaTensor(Matrix3x3& tensor, decimal mass) const override;
|
virtual void computeLocalInertiaTensor(Matrix3x3& tensor, decimal mass) const override;
|
||||||
|
|
|
@ -141,7 +141,7 @@ class ConvexMeshShape : public ConvexShape {
|
||||||
void addEdge(uint v1, uint v2);
|
void addEdge(uint v1, uint v2);
|
||||||
|
|
||||||
/// Return true if the collision shape is a polyhedron
|
/// 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
|
/// Return true if the edges information is used to speed up the collision detection
|
||||||
bool isEdgesInformationUsed() const;
|
bool isEdgesInformationUsed() const;
|
||||||
|
|
|
@ -99,7 +99,7 @@ class CylinderShape : public ConvexShape {
|
||||||
decimal getHeight() const;
|
decimal getHeight() const;
|
||||||
|
|
||||||
/// Return true if the collision shape is a polyhedron
|
/// 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
|
/// Set the scaling vector of the collision shape
|
||||||
virtual void setLocalScaling(const Vector3& scaling) override;
|
virtual void setLocalScaling(const Vector3& scaling) override;
|
||||||
|
|
|
@ -81,7 +81,7 @@ class SphereShape : public ConvexShape {
|
||||||
decimal getRadius() const;
|
decimal getRadius() const;
|
||||||
|
|
||||||
/// Return true if the collision shape is a polyhedron
|
/// 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
|
/// Set the scaling vector of the collision shape
|
||||||
virtual void setLocalScaling(const Vector3& scaling) override;
|
virtual void setLocalScaling(const Vector3& scaling) override;
|
||||||
|
|
|
@ -117,7 +117,7 @@ class TriangleShape : public ConvexShape {
|
||||||
Vector3 getVertex(int index) const;
|
Vector3 getVertex(int index) const;
|
||||||
|
|
||||||
/// Return true if the collision shape is a polyhedron
|
/// Return true if the collision shape is a polyhedron
|
||||||
virtual bool isPolyhedron() const;
|
virtual bool isPolyhedron() const override;
|
||||||
|
|
||||||
// ---------- Friendship ---------- //
|
// ---------- Friendship ---------- //
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user