浏览代码

Updated builds.

Mr.doob 3 年之前
父节点
当前提交
cee3294687
共有 4 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      build/three.cjs
  2. 1 1
      build/three.js
  3. 0 0
      build/three.min.js
  4. 1 1
      build/three.module.js

+ 1 - 1
build/three.cjs

@@ -14053,7 +14053,7 @@ function generateCubeUVSize(parameters) {
 	if (imageHeight === null) return null;
 	const maxMip = Math.log2(imageHeight / 32 + 1) + 3;
 	const texelHeight = 1.0 / imageHeight;
-	const texelWidth = 1.0 / (3 * Math.max(Math.pow(2, maxMip), 7));
+	const texelWidth = 1.0 / (3 * Math.max(Math.pow(2, maxMip), 7 * 16));
 	return {
 		texelWidth,
 		texelHeight,

+ 1 - 1
build/three.js

@@ -14055,7 +14055,7 @@
 		if (imageHeight === null) return null;
 		const maxMip = Math.log2(imageHeight / 32 + 1) + 3;
 		const texelHeight = 1.0 / imageHeight;
-		const texelWidth = 1.0 / (3 * Math.max(Math.pow(2, maxMip), 7));
+		const texelWidth = 1.0 / (3 * Math.max(Math.pow(2, maxMip), 7 * 16));
 		return {
 			texelWidth,
 			texelHeight,

文件差异内容过多而无法显示
+ 0 - 0
build/three.min.js


+ 1 - 1
build/three.module.js

@@ -18362,7 +18362,7 @@ function generateCubeUVSize( parameters ) {
 
 	const texelHeight = 1.0 / imageHeight;
 
-	const texelWidth = 1.0 / ( 3 * Math.max( Math.pow( 2, maxMip ), 7 ) );
+	const texelWidth = 1.0 / ( 3 * Math.max( Math.pow( 2, maxMip ), 7 * 16 ) );
 
 	return { texelWidth, texelHeight, maxMip };
 

部分文件因为文件数量过多而无法显示