Created
October 18, 2014 18:59
-
-
Save svenstaro/244064be0b29bc091411 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
impl<T> HasBoundingVolume<T> for Player { | |
fn bounding_volume(&self) -> BoundingVolume { | |
self.shape.aabb(self.position) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment