addam / Export-Paper-Model-from-Blender

Python addon for creating paper models in Blender (development version)
https://blenderartists.org/t/export-paper-model/476597
405 stars 53 forks source link

Clip to deal with rounding errors before asin #70

Closed tlecomte closed 5 years ago

tlecomte commented 5 years ago

This fixes #69, that is due to rounding errors that make values slightly bigger than 1.0 or slightly smaller than -1.0 to be passed to asin. Here the values are clipped to the [-1.0, 1.0] interval.

addam commented 5 years ago

Thanks!