xeokit / xeokit-sdk

Open source JavaScript SDK for viewing high-detail, full-precision 3D BIM and AEC models in the Web browser.
https://xeokit.io
Other
738 stars 291 forks source link

[FIX] Fix building positioning examples #1379

Closed xeolabs closed 7 months ago

xeolabs commented 9 months ago

https://xeokit.github.io/xeokit-sdk/examples/buildings/#positioning_geodesicCoordinates

paireks commented 9 months ago

It might be related to both https://github.com/xeokit/xeokit-sdk/issues/1371 and https://github.com/xeokit/xeokit-sdk/issues/1316

As AABB is in another location from model because of setting a rotation that affect AABB calculation in a deffected way: 2024-02-21_17h32_04

When I just remove from this example setting the rotation: 2024-02-21_17h34_56