Capsule constructor

Capsule([
  1. Vector3? start,
  2. Vector3? end,
  3. double? radius
])

Implementation

Capsule([
    Vector3? start,
    Vector3? end,
    double? radius
  ]){
    this.start = start ?? Vector3( 0, 0, 0 );
    this.end = end ?? Vector3( 0, 1, 0 );
    this.radius = radius ?? 1;
  }