docs: @Pure
      public static boolean intersectsHollowSphereSolidAlignedBox(
      		double sphereCenterx, double sphereCentery, double sphereCenterz, double radius,
  			double lowerx, double lowery, double lowerz,
  			double upperx, double uppery, double upperz) {
      	double r2 = radius*radius;
      	double a, b, dmin, dmax;
      	
      	dmax = 0;
      	dmin = 0;
  
      	// X
      	a = sphereCenterx - lowerx;
      	a = a*a;
      	
      	b = sphereCenterx - upperx;
      	b = b*b;
      	
      	dmax += Math.max(a, b);
      	if( sphereCenterx < lowerx ) dmin += a;
      	else if( sphereCenterx > upperx ) dmin += b;
  
      	// Y
      	a = sphereCentery - lowery;
      	a = a*a;
      	
      	b = sphereCentery - uppery;
      	b = b*b;
      	
      	dmax += Math.max(a, b);
      	if( sphereCentery < lowery ) dmin += a;
      	else if( sphereCentery > uppery ) dmin += b;
  
      	// Z
      	a = sphereCenterz - lowerz;
      	a = a*a;
      	
      	b = sphereCenterz - upperz;
      	b = b*b;
      	
      	dmax += Math.max(a, b);
      	if( sphereCenterz < lowerz ) dmin += a;
      	else if( sphereCenterz > upperz ) dmin += b;
  
      	return ( dmin <= r2 && r2 <= dmax );
      }