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

state handling

This commit is contained in:
Robin Appelman 2019-03-02 23:05:17 +01:00
commit 1b1878a77b
6 changed files with 153 additions and 18 deletions

View file

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