Skip to content

Face

Represents a triangulated face.

Detailed Description

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.

Public Attributes

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

Public Functions

Type Name
bool IsValid () const
Checks if the face is valid.

Public Attributes Documentation

m_A

Index of the first vertex.

AmSize SparkyStudios::Audio::Amplitude::Face::m_A;
m_B

Index of the second vertex.

AmSize SparkyStudios::Audio::Amplitude::Face::m_B;
m_C

Index of the third vertex.

AmSize SparkyStudios::Audio::Amplitude::Face::m_C;

Public Functions Documentation

IsValid

Checks if the face is valid.

bool Amplitude::Face::IsValid () const

Returns:

true if the face is valid, false otherwise.


The documentation for this struct was generated from the following file: include/SparkyStudios/Audio/Amplitude/Math/Geometry.h