Triangle with 32-bit indices.
More...
#include <IndexedTriangle.h>
Triangle with 32-bit indices.
◆ IndexedTriangleNoMaterial() [1/2]
◆ IndexedTriangleNoMaterial() [2/2]
constexpr IndexedTriangleNoMaterial::IndexedTriangleNoMaterial |
( |
uint32 |
inI1, |
|
|
uint32 |
inI2, |
|
|
uint32 |
inI3 |
|
) |
| |
|
inlineconstexpr |
◆ GetCentroid()
Vec3 IndexedTriangleNoMaterial::GetCentroid |
( |
const VertexList & |
inVertices | ) |
const |
|
inline |
◆ IsDegenerate()
bool IndexedTriangleNoMaterial::IsDegenerate |
( |
const VertexList & |
inVertices | ) |
const |
|
inline |
Check if triangle is degenerate.
◆ IsEquivalent()
Check if two triangles are equivalent (using the same vertices)
◆ IsOpposite()
Check if two triangles are opposite (using the same vertices but in opposing order)
◆ operator==()
Check if two triangles are identical.
◆ Rotate()
void IndexedTriangleNoMaterial::Rotate |
( |
| ) |
|
|
inline |
Rotate the vertices so that the second vertex becomes first etc. This does not change the represented triangle.
◆ mIdx
uint32 IndexedTriangleNoMaterial::mIdx[3] |
The documentation for this class was generated from the following file: