This commit is contained in:
Quaternions 2023-10-26 15:51:11 -07:00
parent f8a8cbf12a
commit 2bea7e210e

View File

@ -37,11 +37,11 @@ pub enum PhysicsInputInstruction {
} }
#[derive(Clone,Hash,Default)] #[derive(Clone,Hash,Default)]
pub struct Body { pub struct Body{
position: Planar64Vec3,//I64 where 2^32 = 1 u pub position:Planar64Vec3,//I64 where 2^32 = 1 u
velocity: Planar64Vec3,//I64 where 2^32 = 1 u/s pub velocity:Planar64Vec3,//I64 where 2^32 = 1 u/s
acceleration: Planar64Vec3,//I64 where 2^32 = 1 u/s/s pub acceleration:Planar64Vec3,//I64 where 2^32 = 1 u/s/s
time:Time,//nanoseconds x xxxxD! pub time:Time,//nanoseconds x xxxxD!
} }
//hey dumbass just use a delta //hey dumbass just use a delta