Pherakki / BlenderToolsForGFS

A Blender plugin for importing and exporting GFS files.
GNU General Public License v3.0
20 stars 1 forks source link

Fix Mesh Bounding Box and Bounding Sphere calculation #115

Closed Pherakki closed 9 months ago

Pherakki commented 9 months ago

Describe the bug Most mesh bounding boxes for meshes are calculated correctly, but the occasional box disagrees with vanilla. It should be checked whether this is an error in the original model or not, and if not, the extra edge cases should be accounted for. Similarly, the bounding sphere calculation is only currently correct for meshes with 3 or 4 vertices. For 5 and above it begins to disagree. The true bounding sphere calculation should be discovered.

Pherakki commented 9 months ago

Fixed in 3ac115be101fd039a6f21b4b4862668665641a76