@@ -2295,7 +2295,7 @@ function addUnknownExtensionsToUserData( knownExtensions, object, objectDef ) {
2295
2295
}
2296
2296
2297
2297
/**
2298
- * @param {Object3D|Material|BufferGeometry } object
2298
+ * @param {Object3D|Material|BufferGeometry|Object } object
2299
2299
* @param {GLTF.definition } gltfDef
2300
2300
*/
2301
2301
function assignExtrasToUserData ( object , gltfDef ) {
@@ -3355,7 +3355,7 @@ class GLTFParser {
3355
3355
* @param {Object } materialParams
3356
3356
* @param {string } mapName
3357
3357
* @param {Object } mapDef
3358
- * @param {string } colorSpace
3358
+ * @param {string } [ colorSpace]
3359
3359
* @return {Promise<Texture> }
3360
3360
*/
3361
3361
assignTexture ( materialParams , mapName , mapDef , colorSpace ) {
@@ -3761,7 +3761,7 @@ class GLTFParser {
3761
3761
/**
3762
3762
* Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#meshes
3763
3763
* @param {number } meshIndex
3764
- * @return {Promise<Group|Mesh|SkinnedMesh> }
3764
+ * @return {Promise<Group|Mesh|SkinnedMesh|Line|Points > }
3765
3765
*/
3766
3766
loadMesh ( meshIndex ) {
3767
3767
@@ -4463,7 +4463,7 @@ class GLTFParser {
4463
4463
TypedKeyframeTrack = QuaternionKeyframeTrack ;
4464
4464
break ;
4465
4465
4466
- case PATH_PROPERTIES . position :
4466
+ case PATH_PROPERTIES . translation :
4467
4467
case PATH_PROPERTIES . scale :
4468
4468
4469
4469
TypedKeyframeTrack = VectorKeyframeTrack ;
0 commit comments