Can now update AABBTree however something weird is happening where the tree grows for the same numbeer of objects...

This commit is contained in:
2019-02-25 09:35:01 -06:00
parent 5cf07ca620
commit d5a5ced955
9 changed files with 140 additions and 33 deletions

View File

@@ -76,6 +76,10 @@ class IMICFPS
self / Vector.new(mag, mag, mag)
end
def sum
@x + @y + @z + @weight
end
def to_a
[@x, @y, @z, @weight]
end