MinieLibrary/src/main/java/com/jme3/bullet/collision/shapes/CollisionShape.java
/**
     * Calculate a quick upper bound for the scaled volume of a shape, based on
     * its axis-aligned bounding box. Collision margin is included.
     *
     * @return the volume (in scaled shape units cubed, &ge;0)
     */
Calculate a quick upper bound for the scaled volume of a shape, based on
its axis-aligned bounding box. Collision margin is included.

@return the volume (in scaled shape units cubed, ≥0)
Calculate a quick upper bound for the scaled volume of a shape based on its axis - aligned bounding box . Collision margin is included . @return the volume ( in scaled shape units cubed ≥0 )
public float aabbScaledVolume() {
        BoundingBox aabb = boundingBox(translateIdentity, rotateIdentity, null);
        Vector3f halfExtents = aabb.getExtent(null);
        float volume = 8f * halfExtents.x * halfExtents.y * halfExtents.z;
        assert volume >= 0f : volume;
        assert MyMath.isFinite(volume) : volume;
        return volume;
    }
public float aabbScaledVolume ( ) { BoundingBox aabb = boundingBox ( translateIdentity , rotateIdentity , null ) ; Vector3f halfExtents = aabb . getExtent ( null ) ; float volume = 8f * halfExtents . x * halfExtents . y * halfExtents . z ; assert volume >= 0f : volume ; assert MyMath . isFinite ( volume ) : volume ; return volume ; }
Calculate a quick upper bound for the scaled volume of a shape, based on
 its axis-aligned bounding box.
Calculate a quick upper bound for the scaled volume of a shape based on its axis - aligned bounding box .