Untitled Game engine no.5
1.0
|
Storage wrapper for support points. More...
#include <Components.hpp>
Public Member Functions | |
Simplex & | operator= (std::initializer_list< Support > ilist) |
Support & | operator[] (const int &i) |
void | operator+= (const Support &support) |
void | add (glm::vec3 p, glm::vec3 a, glm::vec3 b) |
void | set (int i, glm::vec3 p, glm::vec3 a, glm::vec3 b) |
void | push (Support p) |
void | push (glm::vec3 p, glm::vec3 a, glm::vec3 b) |
Public Attributes | |
std::vector< Support > | supports = std::vector<Support>(SIMPLEX_COUNT) |
size_t | index = 0 |
support point list (max 4) | |
Storage wrapper for support points.
A simplex is a point/ line/ triangle or tetrahedron defined by support points. Basically a vector wrapper.