|
|
|
@ -4,8 +4,12 @@ This is a study project for me to learn the raycasting technique. It's an older |
|
|
|
|
not really used much but I'm learning game dev historically and it's definitely been used in the |
|
|
|
|
past (Doom). |
|
|
|
|
|
|
|
|
|
I've been told to look into the following as well: |
|
|
|
|
|
|
|
|
|
https://en.wikipedia.org/wiki/Gilbert%E2%80%93Johnson%E2%80%93Keerthi_distance_algorithm |
|
|
|
|
## Don't Study This Code |
|
|
|
|
|
|
|
|
|
This code is mostly a tech study and demo, not an actual game. It _could_ be a game but it will |
|
|
|
|
require a significant cleanup to improve the layout and design. It's also the culmination of |
|
|
|
|
studying about 6 different tutorials on raycasting so it has a weird mix-match code style as I |
|
|
|
|
brought ideas over from other tutorials. |
|
|
|
|
|
|
|
|
|
Eventually this will be more understandable, but for now just browse it casually and ignore the |
|
|
|
|
inconsistent style and kind of stupid structure. |
|
|
|
|