Capsule3DShape constructor

const Capsule3DShape(
  1. double halfHeight,
  2. double radius
)

A capsule whose straight part is twice halfHeight long.

Implementation

const Capsule3DShape(this.halfHeight, this.radius);