Skip to content

Face

struct Face

Represents a triangulated face.

A face is defined by three vertices. This structure is optimized for use with an existing indexed vertex array, so only the indices of each face's vertex need to be provided.

Variables

Name Description
m_A Index of the first vertex.
m_B Index of the second vertex.
m_C Index of the third vertex.

Functions

Name Description
IsValid Checks if the face is valid.

Variable Details

m_A

AmSize m_A

Index of the first vertex.

m_B

AmSize m_B

Index of the second vertex.

m_C

AmSize m_C

Index of the third vertex.

Function Details

IsValid

[[nodiscard]] bool IsValid() const

Checks if the face is valid.

Return
true if the face is valid, false otherwise.