Closed 529124368 closed 2 years ago
try this math for game developers video: https://www.youtube.com/watch?v=zZM2uUkEoFw&list=PLW3Zl3wyJwWOpdhYedlD-yCB7WQoHf-My&index=14
The raycasting example in g3nd does this: https://github.com/g3n/g3nd/blob/master/demos/other/raycast.go
try this math for game developers video: https://www.youtube.com/watch?v=zZM2uUkEoFw&list=PLW3Zl3wyJwWOpdhYedlD-yCB7WQoHf-My&index=14