提交 aece0c48 编写于 作者: M Mr.doob

Implemented Object3D.DefaultUp. See #4790.

上级 3255c7f0
......@@ -15,7 +15,7 @@ THREE.Object3D = function () {
this.parent = undefined;
this.children = [];
this.up = new THREE.Vector3( 0, 1, 0 );
this.up = THREE.Object3D.DefaultUp.clone();
this.position = new THREE.Vector3();
......@@ -61,6 +61,7 @@ THREE.Object3D = function () {
};
THREE.Object3D.DefaultUp = new THREE.Vector3( 0, 1, 0 );
THREE.Object3D.prototype = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册