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

Re^3: What Perl CAN'T do?

by jplindstrom (Monsignor)
on Dec 15, 2005 at 03:41 UTC ( #516844=note: print w/replies, xml ) Need Help??


in reply to Re^2: What Perl CAN'T do?
in thread What Perl CAN'T do?

One very simple way to optimize collision detection is to sort the objects by pos.x (or y) first. Now you know a lot more about which objects are in proximity.

I'm sure there are really clever rocket science grade algorithms for this too :)

/J

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://516844]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2017-08-21 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (322 votes). Check out past polls.

    Notices?