Skip to content

Instantly share code, notes, and snippets.

View agkountis's full-sized avatar

Angelos Gkountis agkountis

View GitHub Profile
@agkountis
agkountis / app_messages.rs
Last active July 2, 2019 13:53
messaging-rs
#[derive(Debug)]
pub struct MoveMessage {
pub x: f32,
pub y: f32,
pub z: f32
}
impl MoveMessage {
pub fn new(x: f32, y: f32, z: f32) -> Self {
MoveMessage {