summaryrefslogtreecommitdiffstats
path: root/o3d/samples/o3d-webgl-samples/2d.html
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples/o3d-webgl-samples/2d.html')
-rw-r--r--o3d/samples/o3d-webgl-samples/2d.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/o3d/samples/o3d-webgl-samples/2d.html b/o3d/samples/o3d-webgl-samples/2d.html
index 416c76c..2e7bd23 100644
--- a/o3d/samples/o3d-webgl-samples/2d.html
+++ b/o3d/samples/o3d-webgl-samples/2d.html
@@ -296,10 +296,10 @@ function initStep2(clientElements) {
1,
1,
1,
- [[1, 0, 0, 0],
- [0, 0, 1, 0],
- [0,-1, 0, 0],
- [0, 0, 0, 1]]);
+ o3djs.math.makeMatrix4(1, 0, 0, 0,
+ 0, 0, 1, 0,
+ 0,-1, 0, 0,
+ 0, 0, 0, 1));
// Load all the textures.
var loader = o3djs.loader.createLoader(initStep3);