Browse Source

Updated builds.

Mr.doob 3 năm trước cách đây
mục cha
commit
cee3294687
4 tập tin đã thay đổi với 3 bổ sung3 xóa
  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;
 	if (imageHeight === null) return null;
 	const maxMip = Math.log2(imageHeight / 32 + 1) + 3;
 	const maxMip = Math.log2(imageHeight / 32 + 1) + 3;
 	const texelHeight = 1.0 / imageHeight;
 	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 {
 	return {
 		texelWidth,
 		texelWidth,
 		texelHeight,
 		texelHeight,

+ 1 - 1
build/three.js

@@ -14055,7 +14055,7 @@
 		if (imageHeight === null) return null;
 		if (imageHeight === null) return null;
 		const maxMip = Math.log2(imageHeight / 32 + 1) + 3;
 		const maxMip = Math.log2(imageHeight / 32 + 1) + 3;
 		const texelHeight = 1.0 / imageHeight;
 		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 {
 		return {
 			texelWidth,
 			texelWidth,
 			texelHeight,
 			texelHeight,

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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 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 };
 	return { texelWidth, texelHeight, maxMip };
 
 

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác