Fixed collision detection in probes

This was a problem before when the probe hit an object that was further than
another object first. Now we traverse all objects all the time to find the
closest one. \o/
This commit is contained in:
sm
2014-01-16 00:56:35 -08:00
parent 72d5a1a64c
commit 7971198c17
4 changed files with 156 additions and 30 deletions
+2
View File
@@ -1,5 +1,7 @@
package main
// delete me
import (
"log"
"sort"