15 #include <glm/glm.hpp>
16 #include <glm/gtc/quaternion.hpp>
18 class ShapeEntityItem;
21 void runTimingTests();
24 bool rayIntersectsSphere(
const glm::vec3& rayStarting,
const glm::vec3& rayNormalizedDirection,
25 const glm::vec3& sphereCenter,
float sphereRadius,
float& distance);
27 bool pointInSphere(glm::vec3& point, glm::vec3& sphereCenter,
double sphereRadius);
29 void shapeInfoCalculator(
const ShapeEntityItem *
const shapeEntity, ShapeInfo &shapeInfo);