Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

NameDescription
float m_Normal[3]

The normal of this vertex.

Functions

NameDescription
Compare(const AtlasMeshVertex &)

Compares this vertex to another, returning an ordering value.

HasValidFloatData()

Check everything is finite.


Anchor
ad03b5dcb5ecb7cdf4654c11f94095c9a
ad03b5dcb5ecb7cdf4654c11f94095c9a

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.


Anchor
ab416f6842dae184cea368dd1bb82a627
ab416f6842dae184cea368dd1bb82a627

bool Geo::AtlasMeshVertex::HasValidFloatData

...

public: bool HasValidFloatData() const

...

Check everything is finite.