MeshGeometry constructor

MeshGeometry([
  1. List<double>? vertices,
  2. List<int>? indices
])

Constructs a mesh geometry.

Implementation

MeshGeometry([List<double>? vertices, this.indices ]) {
	this.vertices = vertices ?? [];
	computeBoundingVolume();
}