Untitled Game engine no.5  1.0
Public Member Functions | Public Attributes | List of all members
Engine::Support Struct Reference

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>

Inheritance diagram for Engine::Support:
Inheritance graph
[legend]
Collaboration diagram for Engine::Support:
Collaboration graph
[legend]

Public Member Functions

Supportoperator= (glm::vec3 support)
 
Supportoperator= (const Support &support)
 

Public Attributes

glm::vec3 supportA
 
glm::vec3 supportB
 

Detailed Description

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.


The documentation for this struct was generated from the following file: