Ver Fonte

Fix Typos in Documentation and Comments (#31265)

* Update ColladaLoader.js

* Update WebGLRenderer.js
FT há 11 meses atrás
pai
commit
7526943fd1
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      examples/jsm/loaders/ColladaLoader.js
  2. 1 1
      src/renderers/WebGLRenderer.js

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

@@ -108,7 +108,7 @@ class ColladaLoader extends Loader {
 	}
 
 	/**
-	 * Parses the given Collada data and returns a result oject holding the parsed scene,
+	 * Parses the given Collada data and returns a result object holding the parsed scene,
 	 * an array of animation clips and kinematics.
 	 *
 	 * @param {string} text - The raw Collada data as a string.

+ 1 - 1
src/renderers/WebGLRenderer.js

@@ -2889,7 +2889,7 @@ class WebGLRenderer {
 
 					if ( ( x >= 0 && x <= ( renderTarget.width - width ) ) && ( y >= 0 && y <= ( renderTarget.height - height ) ) ) {
 
-						// when using MRT, select the corect color buffer for the subsequent read command
+						// when using MRT, select the correct color buffer for the subsequent read command
 
 						if ( renderTarget.textures.length > 1 ) _gl.readBuffer( _gl.COLOR_ATTACHMENT0 + textureIndex );
 

粤ICP备19079148号