Michael Herzog 1 год назад
Родитель
Сommit
c8662a2973

+ 3 - 1
src/renderers/common/ChainMap.js

@@ -6,7 +6,7 @@
  *
  * @private
  */
-export default class ChainMap {
+class ChainMap {
 
 	/**
 	 * Constructs a new chained map.
@@ -94,3 +94,5 @@ export default class ChainMap {
 	}
 
 }
+
+export default ChainMap;

+ 3 - 1
src/renderers/common/RenderObject.js

@@ -54,7 +54,7 @@ function getKeys( obj ) {
  *
  * @private
  */
-export default class RenderObject {
+class RenderObject {
 
 	/**
 	 * Constructs a new render object.
@@ -752,3 +752,5 @@ export default class RenderObject {
 	}
 
 }
+
+export default RenderObject;

+ 2 - 0
src/renderers/common/UniformsGroup.js

@@ -451,6 +451,7 @@ class UniformsGroup extends UniformBuffer {
 /**
  * Sets the values of the second array to the first array.
  *
+ * @private
  * @param {TypedArray} a - The first array.
  * @param {TypedArray} b - The second array.
  * @param {Number} offset - An index offset for the first array.
@@ -468,6 +469,7 @@ function setArray( a, b, offset ) {
 /**
  * Returns `true` if the given arrays are equal.
  *
+ * @private
  * @param {TypedArray} a - The first array.
  * @param {TypedArray} b - The second array.
  * @param {Number} offset - An index offset for the first array.

粤ICP备19079148号