major gfx refactor
This commit is contained in:
parent
0c0aa792c1
commit
3c3e961995
58 changed files with 3681 additions and 2982 deletions
|
|
@ -28,6 +28,20 @@ impl Default for Entity {
|
|||
}
|
||||
}
|
||||
|
||||
impl Clone for Entity {
|
||||
fn clone(&self) -> Self {
|
||||
Self {
|
||||
pos: self.pos,
|
||||
vel: self.vel,
|
||||
yaw: self.yaw,
|
||||
pitch: self.pitch,
|
||||
flags: self.flags,
|
||||
kind: self.kind,
|
||||
_pad: self._pad,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub struct Simulation {
|
||||
pub entities: Vec<Entity>,
|
||||
pub free_list: Vec<u32>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue