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

generated code for parsing game events

This commit is contained in:
Robin Appelman 2019-03-02 00:39:22 +01:00
commit cc7f9a48cd
18 changed files with 8518 additions and 64 deletions

View file

@ -1,13 +1,13 @@
use bitstream_reader::BitRead;
#[derive(BitRead, Debug)]
#[derive(BitRead, Debug, Clone, Copy)]
pub struct Vector {
pub x: f32,
pub y: f32,
pub z: f32,
}
#[derive(BitRead, Debug)]
#[derive(BitRead, Debug, Clone, Copy)]
pub struct VectorXY {
pub x: f32,
pub y: f32,