Module dagon.graphics.mesh

Defines mesh data structure and utilities.

Description

The dagon.graphics.mesh module provides the Mesh class for storing and rendering 3D geometry (indexed triangle mesh). The module also defines the VertexAttrib enumeration for standard attribute locations used in the engine, and the TriangleSet interface for triangle iteration. Meshes support bounding box calculation, normal generation, and OpenGL VAO/VBO management.

Interfaces

NameDescription
TriangleSet Interface for objects that provide access to a set of triangles.

Classes

NameDescription
Mesh Represents a 3D mesh with vertex and index data, supporting rendering and triangle iteration.

Enums

NameDescription
VertexAttrib Enumerates vertex attribute locations for mesh data.