<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 17 April 2015 at 19:28, Florian Gillard <span dir="ltr"><<a href="mailto:florian.gillard@gmail.com" target="_blank">florian.gillard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi everyone,<br><br></div><div>I am not sure my previous message went trough, if so, sorry for the double post.<br></div><span class=""><div><br></div>I am trying to make a basic raycaster (something like the first wolfenstein 3D) using haskell and SDL 1.2<br><br></span></div><span class="">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></span></div><span class=""><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" target="_blank">https://github.com/eniac314/maze-generator/blob/master/raycaster.hs</a><br><br></span></div><div>sreenshot here:<br><a href="https://github.com/eniac314/maze-generator/blob/master/raycaster.png" target="_blank">https://github.com/eniac314/maze-generator/blob/master/raycaster.png</a><br></div><span class=""><div><br></div>(the last part is not done yet but has nothing to do with the raycaster)<br><br></span></div><span class="">I would appreciate any suggestion :)</span></div>
<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br>The message got through. It might be better answered on the haskell-cafe so I'm relaying it there.<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>Regards</div><div dir="ltr"><div><br></div><div>Sumit Sahrawat</div></div></div></div></div></div></div>
</div></div>