private void calcCuboidsMinMax() {
		if (!(frameRenderer instanceof ExtendedFrameRenderer))
			return;
		Cuboids c = ((ExtendedFrameRenderer) frameRenderer).cuboids;
		if (c.isEmpty())
			return;
		Point3f min = c.getMin();
		Point3f max = c.getMax();
		if (min.x < minBoundBox.x)
			minBoundBox.x = min.x;
		if (min.y < minBoundBox.y)
			minBoundBox.y = min.y;
		if (min.z < minBoundBox.z)
			minBoundBox.z = min.z;
		if (max.x > maxBoundBox.x)
			maxBoundBox.x = max.x;
		if (max.y > maxBoundBox.y)
			maxBoundBox.y = max.y;
		if (max.z > maxBoundBox.z)
			maxBoundBox.z = max.z;
	}