diff --git a/src/body.rs b/src/body.rs new file mode 100644 index 0000000..ebc356d --- /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 0000000..16f9b2e --- /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