Add rudimentary collision detection

This commit is contained in:
2023-10-09 00:12:00 -04:00
parent 38dc495d36
commit ba05c09439
5 changed files with 136 additions and 12 deletions

8
collisions.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef COLLISIONS_H
#define COLLISIONS_H
#include <glm/glm.hpp>
int getIntersection(glm::vec3 vec_start, glm::vec3 vec_stop, glm::vec3 P1, glm::vec3 P2, glm::vec3 P3);
#endif