summaryrefslogtreecommitdiffstats
path: root/o3d/samples/o3djs/fps.js
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/samples/o3djs/fps.js')
-rw-r--r--o3d/samples/o3djs/fps.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/o3d/samples/o3djs/fps.js b/o3d/samples/o3djs/fps.js
index c8e7888..51c233d 100644
--- a/o3d/samples/o3djs/fps.js
+++ b/o3d/samples/o3djs/fps.js
@@ -251,10 +251,10 @@ o3djs.fps.FPSManager = function(pack, clientWidth, clientHeight, opt_parent) {
1,
1,
1,
- [[1, 0, 0, 0],
- [0, 0, 1, 0],
- [0, -1, 0, 0],
- [0.5, 0.5, 0, 1]]);
+ o3djs.math.makeMatrix4(1, 0, 0, 0,
+ 0, 0, 1, 0,
+ 0, -1, 0, 0,
+ 0.5, 0.5, 0, 1));
var barXOffset = 10;
var barYOffset = 2;