Quellcode durchsuchen

Updated builds.

Mr.doob vor 6 Monaten
Ursprung
Commit
701c52ec17

+ 28 - 1
build/three.cjs

@@ -1287,6 +1287,30 @@ const LinearTransfer = 'linear';
  */
  */
 const SRGBTransfer = 'srgb';
 const SRGBTransfer = 'srgb';
 
 
+/**
+ * No normal map packing.
+ *
+ * @type {string}
+ * @constant
+ */
+const NoNormalPacking = '';
+
+/**
+ * Normal RG packing.
+ *
+ * @type {string}
+ * @constant
+ */
+const NormalRGPacking = 'rg';
+
+/**
+ * Normal GA packing.
+ *
+ * @type {string}
+ * @constant
+ */
+const NormalGAPacking = 'ga';
+
 /**
 /**
  * Sets the stencil buffer value to `0`.
  * Sets the stencil buffer value to `0`.
  *
  *
@@ -6798,7 +6822,7 @@ class Source {
 
 
 			target.set( data.videoWidth, data.videoHeight, 0 );
 			target.set( data.videoWidth, data.videoHeight, 0 );
 
 
-		} else if ( data instanceof VideoFrame ) {
+		} else if ( ( typeof VideoFrame !== 'undefined' ) && ( data instanceof VideoFrame ) ) {
 
 
 			target.set( data.displayHeight, data.displayWidth, 0 );
 			target.set( data.displayHeight, data.displayWidth, 0 );
 
 
@@ -77698,9 +77722,12 @@ exports.NeverDepth = NeverDepth;
 exports.NeverStencilFunc = NeverStencilFunc;
 exports.NeverStencilFunc = NeverStencilFunc;
 exports.NoBlending = NoBlending;
 exports.NoBlending = NoBlending;
 exports.NoColorSpace = NoColorSpace;
 exports.NoColorSpace = NoColorSpace;
+exports.NoNormalPacking = NoNormalPacking;
 exports.NoToneMapping = NoToneMapping;
 exports.NoToneMapping = NoToneMapping;
 exports.NormalAnimationBlendMode = NormalAnimationBlendMode;
 exports.NormalAnimationBlendMode = NormalAnimationBlendMode;
 exports.NormalBlending = NormalBlending;
 exports.NormalBlending = NormalBlending;
+exports.NormalGAPacking = NormalGAPacking;
+exports.NormalRGPacking = NormalRGPacking;
 exports.NotEqualCompare = NotEqualCompare;
 exports.NotEqualCompare = NotEqualCompare;
 exports.NotEqualDepth = NotEqualDepth;
 exports.NotEqualDepth = NotEqualDepth;
 exports.NotEqualStencilFunc = NotEqualStencilFunc;
 exports.NotEqualStencilFunc = NotEqualStencilFunc;

Datei-Diff unterdrückt, da er zu groß ist
+ 25 - 1
build/three.core.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
build/three.core.min.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
build/three.module.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
build/three.module.min.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
build/three.webgpu.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
build/three.webgpu.min.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
build/three.webgpu.nodes.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
build/three.webgpu.nodes.min.js


Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.

粤ICP备19079148号