Skip to content

Commit

Permalink
Derive Copy for Aabb
Browse files Browse the repository at this point in the history
  • Loading branch information
djeedai committed Jan 28, 2023
1 parent 299bd37 commit f334d9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_render/src/primitives/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use bevy_math::{Mat4, Vec3, Vec3A, Vec4, Vec4Swizzles};
use bevy_reflect::Reflect;
use bevy_utils::HashMap;

/// An Axis-Aligned Bounding Box
#[derive(Component, Clone, Debug, Default, Reflect)]
/// An axis-aligned bounding box.
#[derive(Component, Clone, Copy, Debug, Default, Reflect)]
#[reflect(Component)]
pub struct Aabb {
pub center: Vec3A,
Expand Down

0 comments on commit f334d9c

Please sign in to comment.