Add trait derivations to Brush and Aabb
This commit is contained in:
parent
700ad4b8ba
commit
dd73410d0a
|
@ -1,6 +1,6 @@
|
|||
use glam::Vec3;
|
||||
|
||||
#[derive(Default, Debug)]
|
||||
#[derive(Default, Debug, Copy, Clone)]
|
||||
pub struct Aabb {
|
||||
pub min: Vec3,
|
||||
pub max: Vec3,
|
||||
|
|
|
@ -37,6 +37,7 @@ pub struct BrushPlane {
|
|||
pub tex_projection: TextureProjection,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Brush {
|
||||
pub planes: Vec<BrushPlane>,
|
||||
raw_vertices: Vec<PlaneIntersection>,
|
||||
|
|
Loading…
Reference in New Issue