This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

struct Geo::AtlasMeshVertex

An AtlasMesh has a simple vertex format, carrying a single 3D coordinate describing the model, and a single 2D "UV" coordinate though which to provide a unique unwrapping of the mesh into a UV atlas that can be used as high quality light map.

Variables

Name Description
float m_Normal[3]

The normal of this vertex.

Functions

Name Description
Compare(const AtlasMeshVertex &)

Compares this vertex to another, returning an ordering value.

HasValidFloatData()

Check everything is finite.


s32 Geo::AtlasMeshVertex::Compare


public: s32 Compare
(
    const AtlasMeshVertex & v
) const


Compares this vertex to another, returning an ordering value.

Parameters
v

A vertex to compare this one to.

Returns

a negative number if this vertex is less than, 0 if it is the same, and a positive number if it is greater than the specified vertex.


bool Geo::AtlasMeshVertex::HasValidFloatData


public: bool HasValidFloatData() const


Check everything is finite.

  • No labels