diff --git a/src/body.rs b/src/body.rs new file mode 100644 index 00000000..ebc356db --- /dev/null +++ b/src/body.rs @@ -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! +} \ No newline at end of file diff --git a/src/event.rs b/src/event.rs new file mode 100644 index 00000000..16f9b2e5 --- /dev/null +++ b/src/event.rs @@ -0,0 +1,8 @@ +enum EventEnum { + //Body::CollisionStart + //Body::CollisionEnd +} + +pub trait EventTrait { + fn next_event() -> EventEnum; +} \ No newline at end of file