src/collisions/src/collidable-factories.js
function createSphereFromRenderableShape(params, physicsJob) {
  const radius = params.radius || vec3.length(params.scale) / Math.sqrt(3);
  return new Sphere(0, 0, 0, radius, params.isStationary, physicsJob);
}
function createSphereFromRenderableShape(params, physicsJob) {
  const radius = params.radius || vec3.length(params.scale) / Math.sqrt(3);
  return new Sphere(0, 0, 0, radius, params.isStationary, physicsJob);
}
function createSphereFromRenderableShape ( params , physicsJob ) { const radius = params . radius || vec3 . length ( params . scale ) / Math . sqrt ( 3 ) ; return new Sphere ( 0 , 0 , 0 , radius , params . isStationary , physicsJob ) ; }
This assumes the base RenderableShape has a "radius" of one unit.

@param {CollidableShapeConfig} params
@param {CollidablePhysicsJob} [physicsJob]
@returns {Collidable}
This assumes the base RenderableShape has a radius of one unit .