Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
New
Description
There is still a situation when the test can fail. It happens when the planet model is a SPHERE and the radius is slightly lower than PI. The circle is created with two sectors but the circle plane is too big and the shape is bogus.
I will attach a test and a proposed solution. (I hope this is the last issue of this saga)
Attached the test and proposed solution.
I basically force the shape to create at least 4 sectors if the radius is big. I have realized as well that the shape has always a minimum of two sectors. Therefore there is a lot of code that can be removed as it is checking for number of sectors lower than 2.