Explorar o código

Fix documentation for bufferView argument

Arseny Kapoulkine %!s(int64=5) %!d(string=hai) anos
pai
achega
0ee72cc42f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      loaders/src/glTF/2.0/glTFLoaderExtension.ts

+ 1 - 1
loaders/src/glTF/2.0/glTFLoaderExtension.ts

@@ -138,7 +138,7 @@ export interface IGLTFLoaderExtension extends IGLTFBaseLoaderExtension, IDisposa
     /**
      * Define this method to modify the default behavior when loading buffer views.
      * @param context The context when loading the asset
-     * @param primitive The glTF buffer view property
+     * @param bufferView The glTF buffer view property
      * @returns A promise that resolves with the loaded buffer view when the load is complete or null if not handled
      */
     loadBufferViewAsync?(context: string, bufferView: IBufferView): Nullable<Promise<ArrayBufferView>>;