提交 0ebba015 编写于 作者: C Colin Ballast

Added newlines after function signature. Should now be conformant to mdcs.

上级 a749e7ac
......@@ -120,6 +120,7 @@ THREE.Matrix4.prototype = {
var v1;
return function ( m ) {
if ( v1 === undefined) v1 = new THREE.Vector3();
var te = this.elements;
......@@ -325,6 +326,7 @@ THREE.Matrix4.prototype = {
var x, y, z;
return function ( eye, target, up ) {
if ( x === undefined ) x = new THREE.Vector3();
if ( y === undefined ) y = new THREE.Vector3();
if ( z === undefined ) z = new THREE.Vector3();
......@@ -468,8 +470,8 @@ THREE.Matrix4.prototype = {
var v1;
return function ( array, offset, length ) {
if ( v1 === undefined) v1 = new THREE.Vector3();
if ( v1 === undefined) v1 = new THREE.Vector3();
if ( offset === undefined ) offset = 0;
if ( length === undefined ) length = array.length;
......@@ -608,6 +610,7 @@ THREE.Matrix4.prototype = {
var v1;
return function () {
if ( v1 === undefined ) v1 = new THREE.Vector3();
THREE.warn( 'THREE.Matrix4: .getPosition() has been removed. Use Vector3.setFromMatrixPosition( matrix ) instead.' );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册