Code refactoring.

master
Vectozavr 2021-10-17 15:41:58 +07:00
parent 9356008258
commit ea9e1887a4
3 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@
#include <string> #include <string>
#include <utility> #include <utility>
class ObjectNameTag { class ObjectNameTag final {
private: private:
const std::string _name; const std::string _name;
public: public:

View File

@ -7,7 +7,7 @@
#include "Animation.h" #include "Animation.h"
class AnimationListTag { class AnimationListTag final {
private: private:
const std::string _name; const std::string _name;
public: public:

View File

@ -12,17 +12,17 @@
#include "Simplex.h" #include "Simplex.h"
#include "../Mesh.h" #include "../Mesh.h"
struct CollisionPoint { struct CollisionPoint final {
const Vec3D normal; const Vec3D normal;
const double depth; const double depth;
}; };
struct FaceNormal { struct FaceNormal final {
const Vec3D normal; const Vec3D normal;
const double distance; const double distance;
}; };
struct NextSimplex { struct NextSimplex final {
const Simplex newSimplex; const Simplex newSimplex;
const Vec3D newDirection; const Vec3D newDirection;
const bool finishSearching; const bool finishSearching;