public void updateCuboidObstacleFace(char axis, float center, float corner) {
		if (obstacleIndexAndFace[0] < 0 || obstacleIndexAndFace[1] < 0)
			return;
		if (highlightPlane == null || !(selectedObstacle instanceof Cuboid))
			return;
		Cuboid c = (Cuboid) selectedObstacle;
		Planes planes = ((ExtendedFrameRenderer) repaintManager.frameRenderer).planes;
		switch (axis) {
		case 'x':
			c.center.x = center;
			c.corner.x = corner;
			break;
		case 'y':
			c.center.y = center;
			c.corner.y = corner;
			break;
		case 'z':
			c.center.z = center;
			c.corner.z = corner;
			break;
		}
		highlightPlane.setVertices(c.getFaceVertices((byte) obstacleIndexAndFace[1]));
		planes.addPlane(highlightPlane);
	}