Selaa lähdekoodia

OculusHandModel: Added missing TOUCH_RADIUS.

Mr.doob 4 vuotta sitten
vanhempi
commit
2c9b14387f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      examples/jsm/webxr/OculusHandModel.js

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

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