ソースを参照

Updated builds.

Mr.doob 4 年 前
コミット
cf5d1691c8
1 ファイル変更3 行追加3 行削除
  1. 3 3
      build/three.module.js

+ 3 - 3
build/three.module.js

@@ -1394,9 +1394,6 @@ let textureId = 0;
 
 class Texture extends EventDispatcher {
 
-	static DEFAULT_IMAGE = undefined;
-	static DEFAULT_MAPPING = UVMapping;
-
 	constructor( image = Texture.DEFAULT_IMAGE, mapping = Texture.DEFAULT_MAPPING, wrapS = ClampToEdgeWrapping, wrapT = ClampToEdgeWrapping, magFilter = LinearFilter, minFilter = LinearMipmapLinearFilter, format = RGBAFormat, type = UnsignedByteType, anisotropy = 1, encoding = LinearEncoding ) {
 
 		super();
@@ -1705,6 +1702,9 @@ class Texture extends EventDispatcher {
 
 }
 
+Texture.DEFAULT_IMAGE = undefined;
+Texture.DEFAULT_MAPPING = UVMapping;
+
 Texture.prototype.isTexture = true;
 
 function serializeImage( image ) {