hart-estate-widget 0.0.28 → 0.0.29
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.
@@ -638,7 +638,7 @@ class HouseStore {
|
|
638
638
|
const modelPath = "".concat(this.apiStore.API_URL, "/storage/furniture/").concat(mesh);
|
639
639
|
const {
|
640
640
|
Location,
|
641
|
-
|
641
|
+
Rotation,
|
642
642
|
Model: ModelName
|
643
643
|
} = furniture;
|
644
644
|
const {
|
@@ -727,7 +727,7 @@ class HouseStore {
|
|
727
727
|
const model = originalModel.clone();
|
728
728
|
model.scale.set(this.sceneScale, this.sceneScale, this.sceneScale);
|
729
729
|
model.position.set(X * this.sceneScale, Y * this.sceneScale, Z * this.sceneScale);
|
730
|
-
model.rotation.set(Math.PI / 2, THREE.Math.degToRad(
|
730
|
+
model.rotation.set(Math.PI / 2, THREE.Math.degToRad(Rotation.Yaw), 0);
|
731
731
|
const loadedTextures = this.loadedTextures[ModelName];
|
732
732
|
|
733
733
|
if (loadedTextures) {
|