You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking that this might be an issue with the extra layer of floating point maths going on. (=~=) is using Test.QuickCheck.=== under the hood, which is using Eq, and that doesn't play nicely with floating point values. I've generated STLs for both the test object and the rotate3-ed test object at a 0.2 resolution, and with an STL diff tool they look visually the same. See attached images. The only major differences I can see are that the point of the cone on the rotated object isn't as clean, and the center grove also has some very minor artifact. Both of these issues get better with finer resolutions however, leading to my conclusion that it is a floating point issue, not a underlying maths issue.
this shape doesn't have the property that
rotate3 (V3 (2 * pi) 0 0) test =~= test
The text was updated successfully, but these errors were encountered: