]> git.localhorst.tv Git - orbi.git/blobdiff - src/world/Entity.h
addressed some float issues
[orbi.git] / src / world / Entity.h
index b0dcc69b50803753842bd145715761678f110b65..a7e45d292b277490c41d9657c68d2082e9f375b0 100644 (file)
@@ -17,11 +17,14 @@ public:
        void Move(Vector<float> delta);
 
 public:
-       AABB vbox;
-       AABB hbox;
+       Vector<float> pos;
        Vector<float> vel;
        Vector<float> acc;
 
+       AABB bounds;
+       AABB vbox;
+       AABB hbox;
+
        float mass = 1.0f;
        float elast = 0.75f;