Marching squares: Difference between revisions

Content added Content deleted
(Added 11l)
Line 63: Line 63:
X RuntimeError(‘Supplied initial coordinates (#., #.) do not lie on a perimeter.’.format(initial_x, initial_y))
X RuntimeError(‘Supplied initial coordinates (#., #.) do not lie on a perimeter.’.format(initial_x, initial_y))


[(Int, Int)] directions
[IVec2] directions
V x = initial_x
V x = initial_x
V y = initial_y
V y = initial_y
Line 69: Line 69:


L
L
(Int, Int) direction
IVec2 direction


S .value(x, y)
S .value(x, y)