Browse Source

OculusHandModel: Added missing TOUCH_RADIUS.

Mr.doob 4 năm trước cách đây
mục cha
commit
2c9b14387f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 {