WIP: lol
This commit is contained in:
parent
05156d1741
commit
7a3e1e39dc
5
src/body.rs
Normal file
5
src/body.rs
Normal 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
8
src/event.rs
Normal file
@ -0,0 +1,8 @@
|
||||
enum EventEnum {
|
||||
//Body::CollisionStart
|
||||
//Body::CollisionEnd
|
||||
}
|
||||
|
||||
pub trait EventTrait {
|
||||
fn next_event() -> EventEnum;
|
||||
}
|
Loading…
Reference in New Issue
Block a user