Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Points, Lines. Polygons OO my

by SilverB1rd (Scribe)
on Aug 31, 2001 at 19:00 UTC ( #109412=note: print w/replies, xml ) Need Help??


in reply to Points, Lines. Polygons OO my

Based on my game programing experience (not alot) with collision detection one of the best ways to test for intersection is to brake the polygon into triangles and then test each to see if the point is inside it.

------
PT - Perl Tanks %100 Perl programming game
The Price of Freedom is Eternal Vigilance

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://109412]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2022-08-17 20:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?