soonspacejs 2.10.1 → 2.10.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soonspacejs",
3
- "version": "2.10.1",
3
+ "version": "2.10.3",
4
4
  "homepage": "http://www.xwbuilders.com:8800/",
5
5
  "description": "soonspacejs 2.x",
6
6
  "module": "./dist/index.esm.js",
@@ -29,5 +29,5 @@
29
29
  "peerDependencies": {
30
30
  "three": ">=0.155.0"
31
31
  },
32
- "gitHead": "b1d8cf7399458c734d27eded6651bdf04e056c28"
32
+ "gitHead": "553c421304240c2b0ec009c7335b5e1e9ed57bd8"
33
33
  }
@@ -12,7 +12,7 @@ declare class HelperManage extends DefaultManage {
12
12
  addAxesHelper(options: AxesHelperOptions): AxesHelper;
13
13
  addBoxHelper(options: BoxHelperOptions): Box3Helper;
14
14
  addPlaneHelper(options: PlaneHelperOptions): BaseMesh;
15
- addGroundHelper(options: GroundHelperOptions): Ground;
15
+ addGroundHelper(options: GroundHelperOptions): Promise<Ground>;
16
16
  addDirectionalLightHelper(options: DirectionalLightHelperOptions): DirectionalLightHelper;
17
17
  addHemisphereLightHelper(options: HemisphereLightHelperOptions): HemisphereLightHelper;
18
18
  addSpotLightHelper(options: SpotLightHelperOptions): SpotLightHelper;
package/types/index.d.ts CHANGED
@@ -1241,12 +1241,12 @@ export declare class SoonSpace {
1241
1241
  * 创建地面
1242
1242
  * @param options
1243
1243
  */
1244
- createGround(options: GroundHelperOptions): library.Ground;
1244
+ createGround(options: GroundHelperOptions): Promise<library.Ground>;
1245
1245
  /**
1246
1246
  * 添加地面辅助器
1247
1247
  * @param options
1248
1248
  */
1249
- addGroundHelper(options: GroundHelperOptions): library.Ground;
1249
+ addGroundHelper(options: GroundHelperOptions): Promise<library.Ground>;
1250
1250
  /**
1251
1251
  * 添加平行光辅助器
1252
1252
  * @param options