gdl.math.raycaster
An implementation of Bresenham line drawing algorithm for casting rays on a two dimensional array.
ray-blocked?
(ray-blocked? boolean-2d-array width height [start-x start-y] [target-x target-y])
An implementation of Bresenham line drawing algorithm for casting rays on a two dimensional array.
(ray-blocked? boolean-2d-array width height [start-x start-y] [target-x target-y])