Marching squares: Difference between revisions
m
→{{header|11l}}: X.throw
m (→{{header|Wren}}: Changed to Wren S/H) |
Alextretyak (talk | contribs) m (→{{header|11l}}: X.throw) |
||
Line 61:
V initial_value = .value(initial_x, initial_y)
I initial_value C (0, 15)
X.throw RuntimeError(‘Supplied initial coordinates (#., #.) do not lie on a perimeter.’.format(initial_x, initial_y))
[IVec2] directions
Line 85:
direction = I previous == :DIR_E {:DIR_N} E :DIR_S
E
X.throw RuntimeError(‘Illegal state.’)
directions.append(direction)
|