<div dir="ltr"><div><div><div><div><div>Hi everyone,<br><br></div>I am trying to make a basic raycaster (something like the first wolfenstein 3D) using haskell and SDL 1.2<br><br></div>So far I have it working using coloured lines and I would like to know if there is any way to apply transforms to textures loaded in memory using SDL, in order to achieve basic texture mapping on the walls.<br><br></div><div>I looked at the SDL doc but I didn't find anything looking like what I need.<br></div><div><br></div>The code is there:<br><br><a href="https://github.com/eniac314/maze-generator/blob/master/raycaster.hs">https://github.com/eniac314/maze-generator/blob/master/raycaster.hs</a><br><br></div>(the last part is not done yet but has nothing to do with the raycaster)<br><br></div>I would appreciate any suggestion :)<br></div>