forked from StrafesNET/strafe-client
pub body
This commit is contained in:
parent
f8a8cbf12a
commit
2bea7e210e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user