I have written the following script as a beginning to port my ray caster from p5.js to c++.
#include #include #include