Surface

The surface class stores buffers for vertex data and indices. These are the visible component of models, brushes, and other objects.

The Surface::Update() function should be called after modifying a surface directly. If the surface is part of a model, Model::UpdateAABB(Entity::LocalAABB | Entity::GlobalAABB | Entity::RecursiveAABB) should be called following this.

Functions