
-----------------------------------
metachief
Sat Sep 27, 2008 10:55 pm

raycasting
-----------------------------------
How do I detect the points in the following picture without using what dot colour. The grid is made of 10x10 squares and I need to detect the points on the sides of the squares that the line touches. This is for my 2D Raycater.

-----------------------------------
gitoxa
Sat Sep 27, 2008 11:18 pm

RE:raycasting
-----------------------------------
Wouldn't math be more accurate?

-----------------------------------
metachief
Sat Sep 27, 2008 11:22 pm

RE:raycasting
-----------------------------------
Thats what meant...as I said I dont whant to use what dot color, instead I need help on how to figure it out with math.

-----------------------------------
SNIPERDUDE
Sun Sep 28, 2008 7:49 am

RE:raycasting
-----------------------------------
http://www.permadi.com/tutorial/raycast/
