1
0
Эх сурвалжийг харах

fix types (#31733)

Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
Samuel Rigaud 7 сар өмнө
parent
commit
112421f54d

+ 1 - 1
examples/jsm/loaders/HDRCubeTextureLoader.js

@@ -148,7 +148,7 @@ class HDRCubeTextureLoader extends Loader {
 	 * Sets the texture type.
 	 *
      * @param {(HalfFloatType|FloatType)} value - The texture type to set.
-     * @return {HDRLoader} A reference to this loader.
+     * @return {HDRCubeTextureLoader} A reference to this loader.
 	 */
 	setDataType( value ) {
 

+ 1 - 1
examples/jsm/tsl/display/AnamorphicNode.js

@@ -244,7 +244,7 @@ class AnamorphicNode extends TempNode {
 	 * The resolution scale.
 	 *
 	 * @deprecated
-	 * @type {vec2}
+	 * @type {Vector2}
 	 * @default {(1,1)}
 	 */
 	get resolution() {

+ 1 - 1
examples/jsm/tsl/display/GaussianBlurNode.js

@@ -320,7 +320,7 @@ class GaussianBlurNode extends TempNode {
 	 * The resolution scale.
 	 *
 	 * @deprecated
-	 * @type {vec2}
+	 * @type {Vector2}
 	 * @default {(1,1)}
 	 */
 	get resolution() {

粤ICP备19079148号