if (store == null) store = new OrientedBoundingBox(); OrientedBoundingBox toReturn = (OrientedBoundingBox) store; toReturn.extent.set(extent);
OrientedBoundingBox toReturn; if ( store instanceof OrientedBoundingBox ) { toReturn = (OrientedBoundingBox) store; } else { toReturn = new OrientedBoundingBox(); } toReturn.extent.set(extent);
	public Object clone(BoundingVolume store) {		if (store == null)			store = new OrientedBoundingBox();		OrientedBoundingBox toReturn = (OrientedBoundingBox) store;		toReturn.extent.set(extent);		toReturn.xAxis.set(xAxis);		toReturn.yAxis.set(yAxis);		toReturn.zAxis.set(zAxis);		toReturn.center.set(center);		toReturn.checkPlane = checkPlane;		toReturn.correctCorners = false;		return toReturn;	}