snegovick / bcad

B-tier OpenSCAD-like 3D CAD software
Other
3 stars 0 forks source link

Investigate bad range calculation with negative step #31

Closed snegovick closed 4 years ago

snegovick commented 4 years ago

Describe the bug Range like this: [1:-1:-3] produces 0 values, which is wrong

To Reproduce See description

Expected behavior This should produce something like [1,0,-1,-2,-3]

Screenshots N/A

Environment (please complete the following information):

Additional context None