Untitled Game engine no.5
1.0
|
GJK support point structure. stores the resulting support point and the components that made it up. storing the components allows us to use barycentric coordinates to calculate collision normals later without redoing furthest direction calculations. More...
#include <Components.hpp>
Public Member Functions | |
Support & | operator= (glm::vec3 support) |
Support & | operator= (const Support &support) |
Public Attributes | |
glm::vec3 | supportA |
glm::vec3 | supportB |
GJK support point structure. stores the resulting support point and the components that made it up. storing the components allows us to use barycentric coordinates to calculate collision normals later without redoing furthest direction calculations.