Hello! I just found about Nim some days ago and really like it, so to learn and do something cool with the language I decided to follow this incredible RayCasting tutorial [https://lodev.org/cgtutor/raycasting.html](https://lodev.org/cgtutor/raycasting.html)
The code there is in C++ so I thought translating the code to Nim would be a good learning process. But I'm a having a problem and a I think it's related to type differences between C++ and Nim, the problem is: When I rotate (press A or D) the camera plane is not perpendicular anymore to the direction vector, I think the cause of this problem is the way sin() and cos() function works in Nim but I could be wrong. Example of what is happening: You can take a look at the code I wrote and the original C++ code here: [https://github.com/JustAntoRS/RayCasting-nim](https://github.com/JustAntoRS/RayCasting-nim) I know this is not a normal question but I'm getting desperate :S Thank you for taking the time to read this :)
