mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
Derive Copy
for Aabb
(#7401)
# Objective Derive `Copy` for `Aabb` ## Solution Just do it :) --- ## Changelog - The `Aabb` type now derives `Copy`.
This commit is contained in:
parent
67aa2953d0
commit
1dd3fe0d9c
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ use bevy_math::{Mat4, Vec3, Vec3A, Vec4, Vec4Swizzles};
|
|||
use bevy_reflect::{FromReflect, Reflect};
|
||||
use bevy_utils::HashMap;
|
||||
|
||||
/// An Axis-Aligned Bounding Box
|
||||
#[derive(Component, Clone, Debug, Default, Reflect, FromReflect)]
|
||||
/// An axis-aligned bounding box.
|
||||
#[derive(Component, Clone, Copy, Debug, Default, Reflect, FromReflect)]
|
||||
#[reflect(Component)]
|
||||
pub struct Aabb {
|
||||
pub center: Vec3A,
|
||||
|
|
Loading…
Reference in a new issue