Commit Graph

9 Commits

Author SHA1 Message Date
Stefan Harmuth
266bc44752 pythagoras is hard (not it isn't) 2021-12-05 07:44:02 +01:00
Stefan Harmuth
766a16c314 remove unused import 2021-12-05 07:38:46 +01:00
Stefan Harmuth
311cb9edba Coordinate: remember the 3rd dimension ... 2021-12-05 07:36:38 +01:00
Stefan Harmuth
2b19538fb2 Coordinate.getLineTo(): return coordinates in a line from self to target 2021-12-05 07:16:40 +01:00
Stefan Harmuth
91e2477328 welcome to the 3D world 2021-11-30 13:24:05 +01:00
Stefan Harmuth
37211190dd add/sub coordinates 2021-11-30 12:11:36 +01:00
Stefan Harmuth
02b4f869b9 angling away 2021-11-30 01:02:57 +01:00
Stefan Harmuth
fc0178288e Coordinate.generate(): get list of coordinates from x1,y1 to x2,y2
Grid(): expose boundaries
Grid.isWithinBoundaries(): check if Coordinate is within boundaries
Grid.getActiveCells(): get all Coordinates within Grid() with a value
2021-11-29 16:40:01 +01:00
Stefan Harmuth
fb30236fd8 coordinates \o/ 2021-10-22 17:35:00 +02:00