Browse Source

OculusHandModel: Added missing POINTING_JOINT.

Mr.doob 4 years ago
parent
commit
a92265f02b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      examples/jsm/webxr/OculusHandModel.js

+ 2 - 0
examples/jsm/webxr/OculusHandModel.js

@@ -5,6 +5,8 @@ import { XRHandMeshModel } from "./XRHandMeshModel.js";
 const DEFAULT_PROFILES_PATH = 'https://cdn.jsdelivr.net/npm/@webxr-input-profiles/[email protected]/dist/profiles';
 const DEFAULT_PROFILES_PATH = 'https://cdn.jsdelivr.net/npm/@webxr-input-profiles/[email protected]/dist/profiles';
 const DEFAULT_PROFILE = 'generic-hand';
 const DEFAULT_PROFILE = 'generic-hand';
 
 
+const POINTING_JOINT = "index-finger-tip";
+
 class OculusHandModel extends Object3D {
 class OculusHandModel extends Object3D {
   constructor(controller) {
   constructor(controller) {
     super();
     super();