lythreeframe 1.0.25 → 1.0.26

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.
@@ -2698,6 +2698,7 @@ class SkyActor extends Actor {
2698
2698
  this.name = "DirectionalLightActor";
2699
2699
  this.skyComponent = this.rootComponent;
2700
2700
  this.rootComponent.name = `${this.rootComponent.name}(Root)`;
2701
+ this.setScale(45000, 45000, 45000);
2701
2702
  }
2702
2703
  constructRootComponent() {
2703
2704
  this.skyComponent = new SkyComponent();
@@ -2696,6 +2696,7 @@ class SkyActor extends Actor {
2696
2696
  this.name = "DirectionalLightActor";
2697
2697
  this.skyComponent = this.rootComponent;
2698
2698
  this.rootComponent.name = `${this.rootComponent.name}(Root)`;
2699
+ this.setScale(45000, 45000, 45000);
2699
2700
  }
2700
2701
  constructRootComponent() {
2701
2702
  this.skyComponent = new SkyComponent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lythreeframe",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Three.js 封装",
5
5
  "main": "dist/bundle.cjs.js",
6
6
  "module": "dist/bundle.esm.js",