From 2bea7e210e1a3909be0f1ef9d7d293b14076b3b1 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 26 Oct 2023 15:51:11 -0700 Subject: [PATCH] pub body --- src/physics.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/physics.rs b/src/physics.rs index 2e9ef36..69b8f6e 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -37,11 +37,11 @@ pub enum PhysicsInputInstruction { } #[derive(Clone,Hash,Default)] -pub struct Body { - position: Planar64Vec3,//I64 where 2^32 = 1 u - velocity: Planar64Vec3,//I64 where 2^32 = 1 u/s - acceleration: Planar64Vec3,//I64 where 2^32 = 1 u/s/s - time:Time,//nanoseconds x xxxxD! +pub struct Body{ + pub position:Planar64Vec3,//I64 where 2^32 = 1 u + pub velocity:Planar64Vec3,//I64 where 2^32 = 1 u/s + pub acceleration:Planar64Vec3,//I64 where 2^32 = 1 u/s/s + pub time:Time,//nanoseconds x xxxxD! } //hey dumbass just use a delta