Kaynağa Gözat

OculusHandModel: Added missing TOUCH_RADIUS.

Mr.doob 4 yıl önce
ebeveyn
işleme
2c9b14387f
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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 {