This commit is contained in:
Quaternions 2023-09-07 15:41:15 -07:00
parent 05156d1741
commit 7a3e1e39dc
2 changed files with 13 additions and 0 deletions

5
src/body.rs Normal file
View File

@ -0,0 +1,5 @@
pub struct Body {
position: glam::I64Vec3,//2^32 = 1 u
velocity: glam::I64Vec3,//2^32 = 1 u/s
time: i64,//nanoseconds x xxxxD!
}

8
src/event.rs Normal file
View File

@ -0,0 +1,8 @@
enum EventEnum {
//Body::CollisionStart
//Body::CollisionEnd
}
pub trait EventTrait {
fn next_event() -> EventEnum;
}