Browse Source

Fix typo in XRHandModelFactory export.

Cody Bennett 4 years ago
parent
commit
c5c79125f3
1 changed files with 5 additions and 5 deletions
  1. 5 5
      examples/jsm/webxr/XRHandModelFactory.d.ts

+ 5 - 5
examples/jsm/webxr/XRHandModelFactory.d.ts

@@ -13,16 +13,16 @@ export class XRHandModel extends Object3D {
 
 }
 
-export class XRControllerModelFactory {
+export class XRHandModelFactory {
 
 	constructor( gltfLoader?: GLTFLoader );
 	gltfLoader: GLTFLoader | null;
 	path: string;
 
 	createHandModel(
-    controller: Group,
-    profile?: 'spheres' | 'boxes' | 'oculus',
-    options?: { primitive: 'sphere' | 'box' }
-  ): XRHandModel;
+		controller: Group,
+		profile?: 'spheres' | 'boxes' | 'oculus',
+		options?: { primitive: 'sphere' | 'box' }
+	): XRHandModel;
 
 }