diff --git a/csg/src/aabb.rs b/csg/src/aabb.rs index ff4eca0..d486039 100644 --- a/csg/src/aabb.rs +++ b/csg/src/aabb.rs @@ -1,6 +1,6 @@ use glam::Vec3; -#[derive(Default, Debug)] +#[derive(Default, Debug, Copy, Clone)] pub struct Aabb { pub min: Vec3, pub max: Vec3, diff --git a/csg/src/brush.rs b/csg/src/brush.rs index 0bded9c..cb54be5 100644 --- a/csg/src/brush.rs +++ b/csg/src/brush.rs @@ -37,6 +37,7 @@ pub struct BrushPlane { pub tex_projection: TextureProjection, } +#[derive(Debug, Clone)] pub struct Brush { pub planes: Vec, raw_vertices: Vec,