box.xExtent = _compVect2.x * scale.x; box.yExtent = _compVect2.y * scale.y; box.zExtent = _compVect2.z * scale.z;
box.xExtent = _compVect2.x; box.yExtent = _compVect2.y; box.zExtent = _compVect2.z;
    public BoundingVolume transform(Quaternion rotate, Vector3f translate, Vector3f scale, BoundingVolume store) {        BoundingBox box;        if (store == null || store.getType() != BoundingVolume.BOUNDING_BOX) {            box = new BoundingBox();        } else {            box = (BoundingBox) store;        }        rotate.mult(center, box.center);        box.center.multLocal(scale).addLocal(translate);        _compVect1.set(xExtent, yExtent, zExtent);        rotate.mult(_compVect1, _compVect2);        // Assign the biggest rotations after scales.        box.xExtent = _compVect2.x * scale.x;        box.yExtent = _compVect2.y * scale.y;        box.zExtent = _compVect2.z * scale.z;        return box;    }