use super::*;
#[derive(Clone, Data, Debug, PartialEq)]
pub struct CubeMapMip3D {
#[get(type(copy))]
pub(crate) face_size: u32,
#[get(type(copy))]
pub(crate) roughness: f32,
pub(crate) texels: Vec<[f32; 3]>,
}
#[derive(Clone, Data, Debug, PartialEq)]
pub struct ReflectionProbe3D {
#[get(type(copy))]
pub(crate) position: Vec3,
#[get(type(copy))]
pub(crate) bounds: AxisAlignedBox3D,
#[get(type(copy))]
pub(crate) blend_distance: f32,
#[get(type(copy))]
pub(crate) intensity: f32,
#[get(type(copy))]
pub(crate) base_face_size: u32,
pub(crate) mip_levels: Vec<CubeMapMip3D>,
}
#[derive(Clone, Copy, Data, Debug, Default, New, PartialEq)]
pub struct Sh9Probe3D {
#[get(type(copy))]
pub(crate) coefficients: [[f32; 3]; SH9_BAND_COUNT],
}
#[derive(Clone, Data, Debug, PartialEq)]
pub struct LightProbeGrid3D {
#[get(type(copy))]
pub(crate) bounds: AxisAlignedBox3D,
#[get(type(copy))]
pub(crate) dims: [usize; 3],
#[get(type(copy))]
pub(crate) normal_bias: f32,
pub(crate) probes: Vec<Sh9Probe3D>,
}