# renderer-tutorial This softwre aims to be an OpenGL renderer written in Haskell following the OpenGL tutorial by The Cherno (). ## Important notes There are some major deviations from the tutorial setup here as follows: * Code base is entirely written in Haskell, not C++ * Instead of GLFW with GLEW I use SDL2 out of familiarity * Shaders are actually split into files per type, since I'mn ot willing to unleash Haskell list magic * Since I am using the OpenGL core profile from the start there is also a vertex array creation call present from the start. * I don't have not found a suitable GUI library, so all things interactive are done through input events. I leave as many helpful comments as possible throughout the code, so feel free to peruse it. ## Mapped input events ### Keyboard * `1`, `2`: Switch input focus between the two displayed objects * `X`/`Shift`+`X`: Move the focused object right/left * `Y`/`Shift`+`Y`: Move the focused object up/down