|
@@ -80,18 +80,18 @@ var h = 1080;
|
|
var fullWidth = w * 3;
|
|
var fullWidth = w * 3;
|
|
var fullHeight = h * 2;
|
|
var fullHeight = h * 2;
|
|
|
|
|
|
-// --A--
|
|
|
|
-camera.setOffset( fullWidth, fullHeight, w * 0, h * 0, w, h );
|
|
|
|
-//--B--
|
|
|
|
-camera.setOffset( fullWidth, fullHeight, w * 1, h * 0, w, h );
|
|
|
|
-//--C--
|
|
|
|
-camera.setOffset( fullWidth, fullHeight, w * 2, h * 0, w, h );
|
|
|
|
-//--D--
|
|
|
|
-camera.setOffset( fullWidth, fullHeight, w * 0, h * 1, w, h );
|
|
|
|
-//--E--
|
|
|
|
-camera.setOffset( fullWidth, fullHeight, w * 1, h * 1, w, h );
|
|
|
|
-//--F--
|
|
|
|
-camera.setOffset( fullWidth, fullHeight, w * 2, h * 1, w, h );
|
|
|
|
|
|
+// A
|
|
|
|
+camera.setViewOffset( fullWidth, fullHeight, w * 0, h * 0, w, h );
|
|
|
|
+// B
|
|
|
|
+camera.setViewOffset( fullWidth, fullHeight, w * 1, h * 0, w, h );
|
|
|
|
+// C
|
|
|
|
+camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 0, w, h );
|
|
|
|
+// D
|
|
|
|
+camera.setViewOffset( fullWidth, fullHeight, w * 0, h * 1, w, h );
|
|
|
|
+// E
|
|
|
|
+camera.setViewOffset( fullWidth, fullHeight, w * 1, h * 1, w, h );
|
|
|
|
+// F
|
|
|
|
+camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 1, w, h );
|
|
</code>
|
|
</code>
|
|
|
|
|
|
Note there is no reason monitors have to be the same size or in a grid.
|
|
Note there is no reason monitors have to be the same size or in a grid.
|