Group3D constructor

Group3D(
  1. List<Model3D<Model3D>> figures
)

Creates a group of 3D objects.

Implementation

Group3D(
  this.figures,
) : _verticesCount = figures.fold(0, (int p, e) => p + e.verticesCount());