more stuff to pointers
raycasting
working on a refactor and trying to use raycasting, something is up though :/
Fixes up raycasting. using different alg
credit where credit is due