|
@@ -40,7 +40,7 @@ Formula based on <a href="http://www.bobatkins.com/photography/technical/field_o
|
|
|
<div>
|
|
|
Sets an offset in a larger frustum. This is useful for multi-window or multi-monitor/multi-machine setups.<br /><br />
|
|
|
|
|
|
-For example, if you have 3x2 monitors and each monitor is 1920x1080 and the monitors are in grid like this:<br /><br />
|
|
|
+For example, if you have 3x2 monitors and each monitor is 1920x1080 and the monitors are in grid like this:<br />
|
|
|
|
|
|
<pre>+---+---+---+
|
|
|
| A | B | C |
|
|
@@ -49,7 +49,7 @@ For example, if you have 3x2 monitors and each monitor is 1920x1080 and the moni
|
|
|
+---+---+---+
|
|
|
</pre>
|
|
|
|
|
|
-then for each monitor you would call it like this:<br /><br />
|
|
|
+then for each monitor you would call it like this:<br />
|
|
|
|
|
|
<code>var w = 1920;
|
|
|
var h = 1080;
|
|
@@ -68,7 +68,7 @@ camera.setOffset( fullWidth, fullHeight, w * 0, h * 1, w, h );
|
|
|
camera.setOffset( fullWidth, fullHeight, w * 1, h * 1, w, h );
|
|
|
//--F--
|
|
|
camera.setOffset( fullWidth, fullHeight, w * 2, h * 1, w, h );
|
|
|
-</code><br />
|
|
|
+</code>
|
|
|
|
|
|
Note there is no reason monitors have to be the same size or in a grid.
|
|
|
</div>
|