@smarterplan/ngx-smarterplan-core 1.2.32 → 1.2.33
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/esm2020/lib/services/matterport.service.mjs +5 -4
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs +4 -3
- package/fesm2015/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs +4 -3
- package/fesm2020/smarterplan-ngx-smarterplan-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3996,8 +3996,11 @@ class MatterportService {
|
|
|
3996
3996
|
modelNode.obj3D.rotation.set(obj.rotation.x, obj.rotation.y, obj.rotation.z);
|
|
3997
3997
|
modelNode.obj3D.scale.set(obj.scale.x, obj.scale.y, obj.scale.z);
|
|
3998
3998
|
if (isAzimuthalCrown) {
|
|
3999
|
-
modelNode.obj3D.scale.
|
|
3999
|
+
/*if(modelNode.obj3D.scale.x >= 1.0){
|
|
4000
|
+
modelNode.obj3D.scale.set(obj.scale.x/5000, obj.scale.y/5000, obj.scale.z/5000);
|
|
4001
|
+
}*/
|
|
4000
4002
|
this.azimuthalCrown = modelNode;
|
|
4003
|
+
this.displayAzimutalCrown();
|
|
4001
4004
|
}
|
|
4002
4005
|
// By defaut, during creation, object has translation gizmo
|
|
4003
4006
|
// => User has to click on lateral panel, and save its position after playing with it!
|
|
@@ -4109,8 +4112,6 @@ class MatterportService {
|
|
|
4109
4112
|
}
|
|
4110
4113
|
displayAzimutalCrown() {
|
|
4111
4114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4112
|
-
//this.azimutalCrown.position.set(this.poseCamera.position.x+.5,this.poseCamera.position.y+.5,this.poseCamera.position.z+.5)
|
|
4113
|
-
console.log("helooooooo!!!!");
|
|
4114
4115
|
if (this.azimuthalCrown) {
|
|
4115
4116
|
this.azimuthalCrown.obj3D.position.set(this.poseCamera.position.x, this.poseCamera.position.y, this.poseCamera.position.z);
|
|
4116
4117
|
}
|