Code refactoring.
parent
9356008258
commit
ea9e1887a4
|
@ -10,7 +10,7 @@
|
|||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
class ObjectNameTag {
|
||||
class ObjectNameTag final {
|
||||
private:
|
||||
const std::string _name;
|
||||
public:
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "Animation.h"
|
||||
|
||||
class AnimationListTag {
|
||||
class AnimationListTag final {
|
||||
private:
|
||||
const std::string _name;
|
||||
public:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue