createCube method

MeshGeometry createCube (
  1. num width,
  2. num height,
  3. num depth,
  4. {GeometryGeneratorFlags flags,
  5. List<GeometryFilter> filters}
)

Implementation

MeshGeometry createCube(num width, num height, num depth,
    {GeometryGeneratorFlags flags, List<GeometryFilter> filters}) {
  _width = width.toDouble();
  _height = height.toDouble();
  _depth = depth.toDouble();

  return createGeometry(flags: flags, filters: filters);
}