Box constructor

Box(
  1. Vec3 halfExtents
)

Implementation

Box(this.halfExtents):super(type: ShapeType.box){
  //this.convexPolyhedronRepresentation = null as unknown as ConvexPolyhedron;
  updateConvexPolyhedronRepresentation();
  updateBoundingSphereRadius();
}