1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-04-14 11:11:55 +02:00

fix end condition

This commit is contained in:
Justin Lin 2019-08-22 09:16:10 +08:00
parent bbf6f7d5ca
commit 9ec796696c

View File

@ -12,7 +12,7 @@ function bitmap(raw_data, center = false, invert = false) =
to = dimension - 1,
range = [0:to],
rows = [
for(row = to; row > 0; row = row - 1)
for(row = to; row > -1; row = row - 1)
[for(column = range)
raw_data[row * dimension + column]]
],