Searched refs:ProtoPosition (Results 1 – 2 of 2) sorted by relevance
26 use netsim_proto::model::Position as ProtoPosition;47 pub position: RwLock<ProtoPosition>,59 position: RwLock::new(ProtoPosition::new()), in new()
52 use netsim_proto::model::Position as ProtoPosition;522 fn distance(a: &ProtoPosition, b: &ProtoPosition) -> f32 { in distance() argument932 fn new_position(x: f32, y: f32, z: f32) -> ProtoPosition { in new_position() argument933 ProtoPosition { x, y, z, ..Default::default() } in new_position()