Thread: (Co)Sines
View Single Post
Old 08-06-2009, 10:26 AM   #4

Activity Longevity
0/20 18/20
Today Posts
0/11 sssssss94
Location: Helsinki, Finland

Casted a floor for a raycaster with sine and it, as well as use it to calculate the "real" distance to the intersection of ray and wall line instead of getting the horrible fishbowl effect inducing "distorted" distance.

Not particularly "cool" but handy.

Last edited by DTR : 08-06-2009 at 10:31 AM.
DTR is offline   Reply With Quote