comment on what can implement predict_collision

This commit is contained in:
Quaternions 2023-09-07 20:17:10 -07:00
parent 03a7552248
commit a28e7236d4

View File

@ -111,6 +111,7 @@ impl crate::event::EventTrait for PhysicsState {
} }
} }
//something that implements body + hitbox can predict collision
impl crate::sweep::PredictCollision for Model { impl crate::sweep::PredictCollision for Model {
fn predict_collision(&self,other:&Model) -> Option<crate::event::EventStruct> { fn predict_collision(&self,other:&Model) -> Option<crate::event::EventStruct> {
//math! //math!