diff options
author | Fate Bussey <lafayette_bussey@brown.edu> | 2023-12-13 19:41:38 -0500 |
---|---|---|
committer | Fate Bussey <lafayette_bussey@brown.edu> | 2023-12-13 19:41:38 -0500 |
commit | 015884f1bfe701871b3227fc69598d5d83ab4f5b (patch) | |
tree | 30efd18d33a0e3dff4bb67b54f113c5f1527059e /src/physics/physics.h | |
parent | 5de0f3b6de57aa0cdc6b1aa7efc57836a99ee59a (diff) | |
parent | 6e27cd596611758bf82f58cff25ad6310bb5ad6e (diff) |
new cyl
Diffstat (limited to 'src/physics/physics.h')
-rw-r--r-- | src/physics/physics.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/physics/physics.h b/src/physics/physics.h index 6410d74..6aad980 100644 --- a/src/physics/physics.h +++ b/src/physics/physics.h @@ -10,17 +10,17 @@ class Physics { public: - static bool checkForSphereCollision(RenderShapeData ¤tShape, RenderShapeData &shape); + static void updateShapePositions(std::vector<RenderShapeData> &shapes); - static bool checkForConeCollision(RenderShapeData ¤tShape, RenderShapeData &shape); + static void handleCollisions(std::vector<RenderShapeData> &shapes); - static bool checkForCylinderCollision(RenderShapeData ¤tShape, RenderShapeData &shape); + static bool checkForSphereCollision(RenderShapeData *currentShape, RenderShapeData *otherShape); - static bool checkForCubeCollision(RenderShapeData ¤tShape, RenderShapeData &shape); + static bool checkForConeCollision(RenderShapeData *currentShape, RenderShapeData *otherShape); - static void updateShapePositions(std::vector<RenderShapeData> &shapes); + static bool checkForCylinderCollision(RenderShapeData *currentShape, RenderShapeData *otherShape); - static void handleCollisions(std::vector<RenderShapeData> &shapes); + static bool checkForCubeCollision(RenderShapeData *currentShape, RenderShapeData *otherShape); }; #endif //PROJECTS_RAY_PHYSICS_H |