Commit Graph

4 Commits (7fb2d5cf268a856a8cb74a8e5de3440f13e121c0)

Author SHA1 Message Date
Zed A. Shaw 7fb2d5cf26 Updated Amit's code to run in sfml 3.0 2 months ago
Zed A. Shaw 4d31a4daf2 Amit's code mostly converted to use the new texture.hpp but there's an error on line amt/pixel.hpp:472 2 months ago
Zed A. Shaw c91e8fc543 Brought in Amit's latest and will now merge in my fixing from last night into his to get them synced up. 2 months ago
Zed A. Shaw 5e63272f24 Brought in some of amit's code to study and try out. amt/ has it. 2 months ago
Zed A. Shaw 2dfe5417b1 More cleaning of the Raycaster class to have no #defines for variables. Now it can be arbitrarily sized and positioned. 2 months ago
Zed A. Shaw 033d5cdfec More cleanup, mostly removing variables and simplifying the math. 2 months ago
Zed A. Shaw 113df851af Way better in the structure but still a lot of work to do. However, just by moving variables to better locations, taking things out of loops that don't need to be recalulated, etc. this is already 50% of the CPU/GPU usage as the previous version. 2 months ago
Zed A. Shaw e379bcd5ec Next step in the refactoring with everything in a different file and running. The bug from the previous commit was due to the pixel buffer making the Raycaster object too large for the stack. If you get __chkstk_ms then you used too much stack. 2 months ago
Zed A. Shaw d230b152cf BREAKING: This code does NOT work, but has a segv on startup on windows due to ...magic? 2 months ago
Zed A. Shaw ca80736d7c First cut at a replica of the python raycaster. Left side almost works the same but have to sort out math differences. 2 months ago
Zed A. Shaw 6b181382bd First build that actually works. SDL_main errors before but didn't figure out the cause. 2 months ago