DodecahedronGeometry constructor

DodecahedronGeometry({
  1. dynamic radius = 0,
  2. dynamic detail = 0,
})

Implementation

DodecahedronGeometry({radius = 0, detail = 0}) : super() {
  this.parameters = {"radius": radius, "detail": detail};

  this.fromBufferGeometry(THREE.DodecahedronGeometry(radius, detail));
  this.mergeVertices();
}