diff --git a/engine/Object.h b/engine/Object.h index 9781642..c9cbcab 100644 --- a/engine/Object.h +++ b/engine/Object.h @@ -10,7 +10,7 @@ #include #include -class ObjectNameTag { +class ObjectNameTag final { private: const std::string _name; public: diff --git a/engine/animation/Timeline.h b/engine/animation/Timeline.h index f09a266..cc990d6 100644 --- a/engine/animation/Timeline.h +++ b/engine/animation/Timeline.h @@ -7,7 +7,7 @@ #include "Animation.h" -class AnimationListTag { +class AnimationListTag final { private: const std::string _name; public: diff --git a/engine/physics/RigidBody.h b/engine/physics/RigidBody.h index d2b3f5f..f486d65 100644 --- a/engine/physics/RigidBody.h +++ b/engine/physics/RigidBody.h @@ -12,17 +12,17 @@ #include "Simplex.h" #include "../Mesh.h" -struct CollisionPoint { +struct CollisionPoint final { const Vec3D normal; const double depth; }; -struct FaceNormal { +struct FaceNormal final { const Vec3D normal; const double distance; }; -struct NextSimplex { +struct NextSimplex final { const Simplex newSimplex; const Vec3D newDirection; const bool finishSearching;