summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-03-29 03:02:41 -0600
committerLywx <kiritodev01@gmail.com>2024-03-29 03:03:55 -0600
commit1f2627a9a691e7cbbd4677d08774540214e63982 (patch)
treee66e1c178b90a46fa73078c2580c67229c8ac783
parentaf69b6df53c44d2f30d275e164975ef946523617 (diff)
Fixed overlap detection and random crash
-rw-r--r--src/types/Vec3D.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/types/Vec3D.h b/src/types/Vec3D.h
index 8215730..acb6eea 100644
--- a/src/types/Vec3D.h
+++ b/src/types/Vec3D.h
@@ -2,7 +2,7 @@
#include "../factories/BaseFactory.h"
-class Vec3f : public IParsedData {
+class Vec3f {
public:
float x;
float y;
@@ -14,7 +14,7 @@ public:
friend std::ostream& operator<< (std::ostream& stream, const Vec3f& vec);
};
-class Vec3s : public IParsedData {
+class Vec3s {
public:
int16_t x;
int16_t y;
@@ -25,7 +25,7 @@ public:
friend std::ostream& operator<< (std::ostream& stream, const Vec3s& vec);
};
-class Vec3i : public IParsedData {
+class Vec3i {
public:
int32_t x;
int32_t y;
@@ -36,7 +36,7 @@ public:
friend std::ostream& operator<< (std::ostream& stream, const Vec3i& vec);
};
-class Vec2f : public IParsedData {
+class Vec2f {
public:
float x;
float z;
@@ -47,7 +47,7 @@ public:
friend std::ostream& operator<< (std::ostream& stream, const Vec2f& vec);
};
-class Vec4f : public IParsedData {
+class Vec4f {
public:
float x;
float y;
@@ -60,7 +60,7 @@ public:
friend std::ostream& operator<< (std::ostream& stream, const Vec4f& vec);
};
-class Vec4s : public IParsedData {
+class Vec4s {
public:
int16_t x;
int16_t y;