- ICE raycast (paused)
- 04 May 2021 12:21:17 pm Permalink
- Last edited by Therad2 on 16 Oct 2021 08:22:14 am; edited 1 time in total

I’m making an ICE raycast engine/game for fun and because I haven’t found any other ICE 3D things I decided to make a post for it so I can just ask questions here instead of making a bunch of other posts. I’m modeling it pretty close to this (go down to iPhoenix’s comment):

https://www.cemetech.net/forum/viewtopic.php?t=9452&view=previous&sid=b6798d59690188fe6aabbb9f068367cd

My first question is how I would do sin in ICE. I need it so I can find how much to increase the rays by (y+sinθ and x+cosθ) In the documentation it says sin( returns root sin? The equation for it is 255*sin(2/256*2*π ) I’m not really sure how that works or what is happening with it at all. How would I get regular sin from it?

https://www.cemetech.net/forum/viewtopic.php?t=9452&view=previous&sid=b6798d59690188fe6aabbb9f068367cd

My first question is how I would do sin in ICE. I need it so I can find how much to increase the rays by (y+sinθ and x+cosθ) In the documentation it says sin( returns root sin? The equation for it is 255*sin(2/256*2*π ) I’m not really sure how that works or what is happening with it at all. How would I get regular sin from it?