Code refactoring.
parent
9356008258
commit
ea9e1887a4
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue