@soonspacejs/plugin-first-person-controls 2.5.50 → 2.5.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/tools.d.ts +10 -0
  2. package/package.json +2 -2
@@ -0,0 +1,10 @@
1
+ import { Box3, Object3D, Sphere, Layers } from 'three';
2
+ /**
3
+ * 判断包围合 与 对象的包围盒是否相交
4
+ */
5
+ export declare function boundingIsIntersected(target: Box3 | Sphere, obj: Object3D): boolean;
6
+ /**
7
+ * 获取对象的包围合
8
+ */
9
+ export declare function getBoundingBox(obj: Object3D): Box3;
10
+ export declare function setLayers(layer: Layers, layerNums: number[]): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soonspacejs/plugin-first-person-controls",
3
3
  "pluginName": "FirstPersonControlsPlugin",
4
- "version": "2.5.50",
4
+ "version": "2.5.51",
5
5
  "description": "FirstPersonControls plugin for SoonSpace.js",
6
6
  "main": "dist/index.esm.js",
7
7
  "module": "dist/index.esm.js",
@@ -13,5 +13,5 @@
13
13
  ],
14
14
  "author": "xuek",
15
15
  "license": "UNLICENSED",
16
- "gitHead": "a21d3d6d55518221d2c2de55b507aa82c234703c"
16
+ "gitHead": "935d10e09cab915e36057f12b0754296b93a8673"
17
17
  }