Just because you know the mathematics does NOT mean you know how to program it. What I meant was have you written a program to clip a line to a polyogn, if not do that first. Of course I read all of the post before I posted. I can't believe you can't figure out such a simple algorithm to be honest. If you know the mathematics behind it, it pratically writes itself. I was going to help you out but I changed my mine. Best of luck.
Originally posted by Duetti
Read all previous posts before posting "MrWizard".
> Do you know how to clip a line to a polygon?
From my original post...
> I don't even know what you mean when you say
From my original post..
As I said, read all previous posts before posting your reply.
> Also don't get mad when people don't answer your question
I am not mad, I am just really surprised that I can't get an answer to such a classic graphic's programming problem in a "game programming forum".
> Some people on here have lives outside of the internet.
Did I suggest otherwise? Judging from your number of posts(1070), it's YOU that has been spending quite a lot of YOUR time online, not me. :-)