提交 8bb757be 编写于 作者: T ttmike

corrected ocean2 shader demo html file

上级 fb4b18da
......@@ -81,6 +81,8 @@
ResizeCallback: function (inWidth, inHeight) {},
};
var lastTime = (new Date()).getTime();
var DEMO =
{
ms_Canvas: null,
......@@ -116,7 +118,7 @@
this.ms_Scene = new THREE.Scene();
this.ms_Camera = new THREE.PerspectiveCamera(55.0, WINDOW.ms_Width / WINDOW.ms_Height, 0.5, 300000);
this.ms_Camera.position.set(900, 700, 900);
this.ms_Camera.position.set(450, 350, 450);
this.ms_Camera.lookAt(new THREE.Vector3(0,0,0));
// Initialize Orbit control
......@@ -149,7 +151,7 @@
};
//To use enter the axis length
this.debugaxis(20);
this.debugaxis(50);
var gsize = 512;
var res = 1024;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册