소스 검색

Update Material.js

And finally...
bGute 7 년 전
부모
커밋
dbbff29302
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/materials/Material.js

+ 1 - 1
src/materials/Material.js

@@ -231,7 +231,7 @@ Material.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
 
 
 		// rotation (SpriteMaterial)
 		// rotation (SpriteMaterial)
 		if ( this.rotation !== 0 ) data.rotation = this.rotation;
 		if ( this.rotation !== 0 ) data.rotation = this.rotation;
-		
+
 		if ( this.polygonOffset === true ) data.polygonOffset = true;
 		if ( this.polygonOffset === true ) data.polygonOffset = true;
 		if ( this.polygonOffsetFactor !== 0 ) data.polygonOffsetFactor = this.polygonOffsetFactor;
 		if ( this.polygonOffsetFactor !== 0 ) data.polygonOffsetFactor = this.polygonOffsetFactor;
 		if ( this.polygonOffsetUnits !== 0 ) data.polygonOffsetUnits = this.polygonOffsetUnits;
 		if ( this.polygonOffsetUnits !== 0 ) data.polygonOffsetUnits = this.polygonOffsetUnits;