CG-Project2
Loading...
Searching...
No Matches
CollisionPoints Struct Reference

Data structure to store collision point in the CollisionSolver and in collision detection phase. More...

Public Attributes

glm::vec3 A {}
 first entity collision point
glm::vec3 B {}
 second entity collision point
glm::vec3 normal {}
 normalized direction of the collision
float depth {}
 depth of the collision
bool colliding = false
 tells if the entities are colliding

Detailed Description

Data structure to store collision point in the CollisionSolver and in collision detection phase.


The documentation for this struct was generated from the following file:
  • App/src/PhysicWorld.cpp