diff --git a/ECS/Systems/CollisionSystem.h b/ECS/Systems/CollisionSystem.h index adaa947..ee64e35 100644 --- a/ECS/Systems/CollisionSystem.h +++ b/ECS/Systems/CollisionSystem.h @@ -111,10 +111,12 @@ class CollisionSystem : public EntitySystem { if (result) { // Output to console - std::cout << "Triangle: " << result->p1[0] << ", " << result->p1[1] << ", " - << result->p1[2] << " | " << result->p2[0] << ", " << result->p2[1] - << ", " << result->p2[2] << " | " << result->p3[0] << ", " - << result->p3[1] << ", " << result->p3[2] << std::endl; + std::cout << "Point: " << collision_position[0] << ", " << collision_position[1] + << ", " << collision_position[2] << " || Triangle: " << result->p1[0] + << ", " << result->p1[1] << ", " << result->p1[2] << " | " + << result->p2[0] << ", " << result->p2[1] << ", " << result->p2[2] + << " | " << result->p3[0] << ", " << result->p3[1] << ", " + << result->p3[2] << std::endl; // Ouput visually glm::vec3 pos =