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 <utility>
class ObjectNameTag {
class ObjectNameTag final {
private:
const std::string _name;
public:

View File

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

View File

@ -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;