mod camera_helper;
mod common;
mod field_compute_pipeline;
mod imgui_renderer;
mod patch;
mod renderer;
mod simulator;
mod slice_viewer;
mod sound_sources;
mod trans_viewer;
mod update_flag;
mod viewer_settings;
pub use simulator::Simulator;
pub use viewer_settings::ViewerSettings;
pub use renderer::available_gpus;
pub type Vector2 = cgmath::Vector2<f32>;
pub type Vector3 = cgmath::Vector3<f32>;
pub type Vector4 = cgmath::Vector4<f32>;
pub type Quaternion = cgmath::Quaternion<f32>;
pub type Matrix3 = cgmath::Matrix3<f32>;
pub type Matrix4 = cgmath::Matrix4<f32>;
#[cfg(feature = "use_meter")]
pub(crate) const SCALE: f32 = 1e-3;
#[cfg(not(feature = "use_meter"))]
pub(crate) const SCALE: f32 = 1.;
#[cfg(feature = "left_handed")]
pub(crate) const ZPARITY: f32 = -1.;
#[cfg(not(feature = "left_handed"))]
pub(crate) const ZPARITY: f32 = 1.;