Capsule constructor
Capsule([
- Vector3? start,
- Vector3? end,
- 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;
}