|
@@ -1,15 +1,10 @@
|
|
-import { IWebXRFeature, WebXRFeaturesManager } from '../webXRFeaturesManager';
|
|
|
|
|
|
+import { IWebXRFeature, WebXRFeaturesManager, WebXRFeatureName } from '../webXRFeaturesManager';
|
|
import { WebXRSessionManager } from '../webXRSessionManager';
|
|
import { WebXRSessionManager } from '../webXRSessionManager';
|
|
import { Observable } from '../../../Misc/observable';
|
|
import { Observable } from '../../../Misc/observable';
|
|
import { Vector3, Matrix } from '../../../Maths/math.vector';
|
|
import { Vector3, Matrix } from '../../../Maths/math.vector';
|
|
import { TransformNode } from '../../../Meshes/transformNode';
|
|
import { TransformNode } from '../../../Meshes/transformNode';
|
|
import { WebXRAbstractFeature } from './WebXRAbstractFeature';
|
|
import { WebXRAbstractFeature } from './WebXRAbstractFeature';
|
|
|
|
|
|
-/**
|
|
|
|
- * name of module (can be reused with other versions)
|
|
|
|
- */
|
|
|
|
-const WebXRHitTestModuleName = "xr-hit-test";
|
|
|
|
-
|
|
|
|
// the plugin is registered at the end of the file
|
|
// the plugin is registered at the end of the file
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -50,7 +45,7 @@ export class WebXRHitTestLegacy extends WebXRAbstractFeature implements IWebXRFe
|
|
/**
|
|
/**
|
|
* The module's name
|
|
* The module's name
|
|
*/
|
|
*/
|
|
- public static readonly Name = WebXRHitTestModuleName;
|
|
|
|
|
|
+ public static readonly Name = WebXRFeatureName.HIT_TEST;
|
|
/**
|
|
/**
|
|
* The (Babylon) version of this module.
|
|
* The (Babylon) version of this module.
|
|
* This is an integer representing the implementation version.
|
|
* This is an integer representing the implementation version.
|