Marching squares: Difference between revisions

m
m (→‎{{header|Wren}}: Changed to Wren S/H)
 
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)
1,480

edits