struct Geo::AtlasMeshTriangle
An AtlasMesh consists of a number of triangle faces, each composed of three vertices.
Each triangle can have a material assigned to it, which can be used to describe regions of the mesh that should be kept together in the UV atlas. Regions containing different materials will always be packed separately, and may require some duplication of the vertices so that this can be enforced (XXX see ....).
Variables
Name | Description |
---|---|
u64 materialId | An identifier for the "material" bound to the triangle (see above). |
Functions
Name | Description |
---|---|
IsTopologicalDegenerate() | Returns true if the triangle does not reference 3 unique vertex indices. |
bool Geo::AtlasMeshTriangle::IsTopologicalDegenerate
public: bool IsTopologicalDegenerate() const
Returns true if the triangle does not reference 3 unique vertex indices.