Skip to content

Commit 7526943

Browse files
authored
Fix Typos in Documentation and Comments (#31265)
* Update ColladaLoader.js * Update WebGLRenderer.js
1 parent 7b80b96 commit 7526943

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/jsm/loaders/ColladaLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class ColladaLoader extends Loader {
108108
}
109109

110110
/**
111-
* Parses the given Collada data and returns a result oject holding the parsed scene,
111+
* Parses the given Collada data and returns a result object holding the parsed scene,
112112
* an array of animation clips and kinematics.
113113
*
114114
* @param {string} text - The raw Collada data as a string.

src/renderers/WebGLRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2889,7 +2889,7 @@ class WebGLRenderer {
28892889

28902890
if ( ( x >= 0 && x <= ( renderTarget.width - width ) ) && ( y >= 0 && y <= ( renderTarget.height - height ) ) ) {
28912891

2892-
// when using MRT, select the corect color buffer for the subsequent read command
2892+
// when using MRT, select the correct color buffer for the subsequent read command
28932893

28942894
if ( renderTarget.textures.length > 1 ) _gl.readBuffer( _gl.COLOR_ATTACHMENT0 + textureIndex );
28952895

0 commit comments

Comments
 (0)