Freedom-of-Form-Foundation / anatomy3d

A CAD tool for humanoid anatomy alterations. See the anatomy3d-blender repository for more recent work.
https://freedomofform.org/1856/3d-anatomy-project-scope-phase-1-focus-on-a-limb-joint/
GNU General Public License v2.0
7 stars 5 forks source link

Rework Capsule normals generation #47

Open Lathreas opened 3 years ago

Lathreas commented 3 years ago

Currently, the normals are regenerated in Capsule.cs using data generated from the subcomponents (hemispheres and shaft), but that requires that the data is pregenerated, reducing performance when IEnumerable is used instead. Reworking the normals generation algorithm would improve this.