This is my code for drawling the line.
--- is just spaces ignore them
function raycast(fromx,fromy)
---cam.angle += 1
---local l = cam.dist
---local atx=fromx+(lcos(cam.angle))
---local aty=fromy+(lsin(cam.angle))
---line(fromx,fromy,atx,aty,8)
end
I can't see why this isn't working. im changing the cam.angle but the line is still straight
And there's no rad function so I do not know..
P#114045 2022-07-07 23:36
[Please log in to post a comment]