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

Updated builds.

上级 ed6b5157
......@@ -1893,6 +1893,12 @@
},
applyNormalMatrix: function ( m ) {
return this.applyMatrix3( m ).normalize();
},
applyMatrix4: function ( m ) {
var x = this.x, y = this.y, z = this.z;
......@@ -6833,7 +6839,7 @@
function Ray( origin, direction ) {
this.origin = ( origin !== undefined ) ? origin : new Vector3();
this.direction = ( direction !== undefined ) ? direction : new Vector3();
this.direction = ( direction !== undefined ) ? direction : new Vector3( 0, 0, - 1 );
}
此差异已折叠。
......@@ -1887,6 +1887,12 @@ Object.assign( Vector3.prototype, {
},
applyNormalMatrix: function ( m ) {
return this.applyMatrix3( m ).normalize();
},
applyMatrix4: function ( m ) {
var x = this.x, y = this.y, z = this.z;
......@@ -6827,7 +6833,7 @@ var _normal = new Vector3();
function Ray( origin, direction ) {
this.origin = ( origin !== undefined ) ? origin : new Vector3();
this.direction = ( direction !== undefined ) ? direction : new Vector3();
this.direction = ( direction !== undefined ) ? direction : new Vector3( 0, 0, - 1 );
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册