Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
|
A set of 3 points located in the world forming a (hopefully sensible) triangle. More...
#include <spatial_query_basic_types.hpp>
Public Member Functions | |
bool | isSensible () const |
Tests whether the points describing the triangle are sensible (as opposed to invalid, infinite, or degenerate). | |
Public Attributes | |
std::array< glm::vec3, 3 > | mPoints {} |
The points of the triangle, where each point has 3 components. | |
A set of 3 points located in the world forming a (hopefully sensible) triangle.
|
inline |
Tests whether the points describing the triangle are sensible (as opposed to invalid, infinite, or degenerate).
true | The triangle is sensible; |
false | The triangle is not sensible; |