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:
Jerome Humbert 2023-01-30 18:27:58 +00:00
parent 67aa2953d0
commit 1dd3fe0d9c

View file

@ -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,