vanruesc / sparse-octree

A sparse octree data structure.
zlib License
117 stars 20 forks source link

Reduce object creation during raycasting. #5

Closed vanruesc closed 8 years ago

vanruesc commented 8 years ago

The raycast method creates multiple Vector3 instances each time it's called. This could be prevented by using static objects.