copyWith method

Mesh3D copyWith({
  1. List<Face3D>? faces,
})

Copies the mesh.

Implementation

Mesh3D copyWith({List<Face3D>? faces}) {
  return Mesh3D(faces ?? this.faces);
}