// // Created by Michael Foiani on 12/13/23. // #ifndef PROJECTS_RAY_PHYSICS_H #define PROJECTS_RAY_PHYSICS_H #include "utils/sceneparser.h" class Physics { public: static bool checkForSphereCollision(RenderShapeData ¤tShape, RenderShapeData &shape); static bool checkForConeCollision(RenderShapeData ¤tShape, RenderShapeData &shape); static bool checkForCylinderCollision(RenderShapeData ¤tShape, RenderShapeData &shape); static bool checkForCubeCollision(RenderShapeData ¤tShape, RenderShapeData &shape); static void updateShapePositions(std::vector &shapes); static void handleCollisions(std::vector &shapes); }; #endif //PROJECTS_RAY_PHYSICS_H