1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 10:34:11 +02:00

fix packet parsers

This commit is contained in:
Robin Appelman 2019-02-26 18:15:42 +01:00
commit 5f4af8333b
13 changed files with 132 additions and 48 deletions

View file

@ -1,5 +1,6 @@
use crate::{Parse, ParseError, ParserState, Result, Stream};
#[derive(Debug)]
pub struct Vector {
pub x: f32,
pub y: f32,
@ -20,6 +21,7 @@ impl Parse<'_> for Vector {
}
}
#[derive(Debug)]
pub struct VectorXY {
pub x: f32,
pub y: f32,