apply method
Mesh
apply([
- Mesh? mesh
Implementation
Mesh apply([Mesh? mesh]) {
index();
mesh ??= Mesh();
return mesh
..addSurface(
Surface(
vertices: _vertices,
indices: _indices,
material: _lastMaterial,
),
);
}