use super::*;
#[derive(Clone, Copy, Data, Debug, New, PartialEq)]
pub struct VehicleWheelLayout3D {
#[get(type(copy))]
pub(crate) front_left: Vec3,
#[get(type(copy))]
pub(crate) front_right: Vec3,
#[get(type(copy))]
pub(crate) rear_left: Vec3,
#[get(type(copy))]
pub(crate) rear_right: Vec3,
#[get(type(copy))]
pub(crate) wheel_radius_m: f32,
}
#[derive(Clone, Copy, Debug, Getter, PartialEq)]
pub(crate) struct BodyStation {
#[get(type(copy))]
pub(crate) z: f32,
#[get(type(copy))]
pub(crate) y_bottom: f32,
#[get(type(copy))]
pub(crate) y_rocker: f32,
#[get(type(copy))]
pub(crate) y_belt: f32,
#[get(type(copy))]
pub(crate) y_deck_edge: f32,
#[get(type(copy))]
pub(crate) y_crown: f32,
#[get(type(copy))]
pub(crate) half_w_bottom: f32,
#[get(type(copy))]
pub(crate) half_w_rocker: f32,
#[get(type(copy))]
pub(crate) half_w_belt: f32,
#[get(type(copy))]
pub(crate) half_w_deck: f32,
#[get(type(copy))]
pub(crate) crown_bulge: f32,
#[get(type(copy))]
pub(crate) side_scoop_depth: f32,
}
#[derive(Clone, Copy, Debug, Getter, PartialEq)]
pub(crate) struct CanopyStation {
#[get(type(copy))]
pub(crate) z: f32,
#[get(type(copy))]
pub(crate) y_base: f32,
#[get(type(copy))]
pub(crate) y_cantrail: f32,
#[get(type(copy))]
pub(crate) y_crown: f32,
#[get(type(copy))]
pub(crate) half_w_base: f32,
#[get(type(copy))]
pub(crate) half_w_cantrail: f32,
#[get(type(copy))]
pub(crate) top_slot: u16,
#[get(type(copy))]
pub(crate) side_slot: u16,
}
#[derive(Clone, Copy, Debug, Getter, New, PartialEq)]
pub(crate) struct WheelArchSpec {
#[get(type(copy))]
pub(crate) center_x: f32,
#[get(type(copy))]
pub(crate) center_z: f32,
#[get(type(copy))]
pub(crate) tire_radius: f32,
#[get(type(copy))]
pub(crate) rim_radius: f32,
#[get(type(copy))]
pub(crate) tire_width: f32,
#[get(type(copy))]
pub(crate) arch_flare_width: f32,
#[get(type(copy))]
pub(crate) arch_clearance: f32,
}
#[derive(Clone, Data, Debug, Default, PartialEq)]
pub(crate) struct VehicleMeshBuilder {
pub(crate) vertices: Vec<Vertex3D>,
pub(crate) indices: Vec<[u32; 3]>,
pub(crate) tri_materials: Vec<u16>,
}