Made physics work

This commit is contained in:
Vulpovile
2022-10-02 15:54:38 -07:00
parent 316359a395
commit e17aa16086
7 changed files with 51 additions and 26 deletions

View File

@@ -54,6 +54,7 @@ public:
void setShape(Enum::Shape::Value shape);
void setChanged();
void setSurface(int face, Enum::SurfaceType::Value surface);
float getMass();
//Collision
bool collides(PartInstance * part);
@@ -70,4 +71,4 @@ private:
bool changed;
Box itemBox;
GLuint glList;
};
};