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

Add debug-only range checks #71

Closed AdamNorberg closed 2 years ago

AdamNorberg commented 2 years ago

We're writing code assuming that we're operating on well-defined unique numeric values - our math isn't designed to work around NaN or infinity. Checking for them can add up, so let's add checks to debug mode only.

AdamNorberg commented 2 years ago

Done. Thanks for the quick review!