A set of 3 points located in the world forming a (hopefully sensible) triangle.
More...
#include <types.hpp>
|
| bool | isSensible () const |
| | Tests whether the points describing the triangle are sensible (as opposed to invalid or infinite).
|
| bool | isPositiveStrict () const |
| | Tests whether the points of this triangle encapsulate some area in space.
|
|
|
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.
◆ isPositiveStrict()
| bool ToyMaker::AreaTriangle::isPositiveStrict |
( |
| ) |
const |
|
inline |
Tests whether the points of this triangle encapsulate some area in space.
- Return values
-
| true | This triangle is non-trivial, and covers some definite space |
| false | This triangle is trivial, degenerate, and covers no real area |
◆ isSensible()
| bool ToyMaker::AreaTriangle::isSensible |
( |
| ) |
const |
|
inline |
Tests whether the points describing the triangle are sensible (as opposed to invalid or infinite).
- Return values
-
| true | The triangle is sensible; |
| false | The triangle is not sensible; |
The documentation for this struct was generated from the following file:
- ToyMaker_Main/include/toymaker/engine/spatial_query/types.hpp