DubiousEngine
0.2.0
Simple Game Engine
|
A surface triangle. More...
#include <Minkowski_polytope.h>
Public Member Functions | |
Triangle (const Minkowski_vector &p1, const Minkowski_vector &p2, const Minkowski_vector &p3) | |
Usable Constructor. More... | |
Triangle ()=default | |
default constructor More... | |
Public Attributes | |
Minkowski_vector | a |
Minkowski_vector | b |
Minkowski_vector | c |
Math::Unit_vector | normal |
A surface triangle.
Represents a triangle on the Polytope. Created from three Minkowski vectors. Will throw an exception if it can't find the normal
|
inline |
Usable Constructor.
|
default |
default constructor
Only used when creating a triangle that is about to be copied from a return value. Don't use this in the real world.
Minkowski_vector Dubious::Physics::Minkowski_polytope::Triangle::a |
Minkowski_vector Dubious::Physics::Minkowski_polytope::Triangle::b |
Minkowski_vector Dubious::Physics::Minkowski_polytope::Triangle::c |
Math::Unit_vector Dubious::Physics::Minkowski_polytope::Triangle::normal |