public static void init3dCanvas(int x, int y) {
		Rasterizer.lineOffsets = new int[y];
		for (int i = 0; i < y; i++) {
			Rasterizer.lineOffsets[i] = x * i;
		}
		Rasterizer.centerX = x / 2;
		Rasterizer.centerY = y / 2;
	}