Mesh constructor
Creates a Mesh
consisting of a single MeshPrimitive with the given Geometry and Material.
Implementation
Mesh(Geometry geometry, Material material)
: primitives = [MeshPrimitive(geometry, material)];
Creates a Mesh
consisting of a single MeshPrimitive with the given Geometry and Material.
Mesh(Geometry geometry, Material material)
: primitives = [MeshPrimitive(geometry, material)];