Grrr... somebody had asked me to make a raycasting example for them (don't ask, long story)... which I then did with managed directdraw (C#).
Of course, they didn't need it afterall... but I only wasted half of a day on it, so I figured I'd post it here since raycasting is an interesting topic for game programmers.
Go ahead and do what you will, I don't care. I'm sure if somebody wanted to learn more about raycasting, or managed directdraw they could take a look.
So, here... :p
what do you open it with?
It's a C# source file... so, any text editor or C# IDE.