mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 10:34:11 +02:00
state handling
This commit is contained in:
parent
f2650dc32f
commit
1b1878a77b
6 changed files with 153 additions and 18 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue