add bevy::math::{DVec3,DQuat} import to common
This commit is contained in:
parent
c292c66900
commit
7f3770cf49
|
@ -16,7 +16,6 @@
|
|||
|
||||
use bevy::prelude::*;
|
||||
use bevy_xpbd_3d::prelude::*;
|
||||
use bevy::math::DVec3;
|
||||
use crate::prelude::*;
|
||||
|
||||
pub const ENGINE_SPEED_FACTOR: f32 = 30.0;
|
||||
|
|
|
@ -19,7 +19,6 @@ use bevy::core_pipeline::bloom::{BloomCompositeMode, BloomSettings};
|
|||
use bevy::core_pipeline::tonemapping::Tonemapping;
|
||||
use bevy::pbr::{CascadeShadowConfigBuilder, DirectionalLightShadowMap};
|
||||
use bevy::transform::TransformSystem;
|
||||
use bevy::math::{DVec3, DQuat};
|
||||
use bevy_xpbd_3d::prelude::*;
|
||||
use bevy_xpbd_3d::plugins::sync;
|
||||
use crate::prelude::*;
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
use crate::prelude::*;
|
||||
use bevy::prelude::*;
|
||||
use bevy::math::DVec3;
|
||||
use bevy_xpbd_3d::prelude::*;
|
||||
use serde_yaml::Value;
|
||||
use serde::Deserialize;
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
extern crate regex;
|
||||
use bevy::prelude::*;
|
||||
use bevy_xpbd_3d::prelude::*;
|
||||
use bevy::math::DVec3;
|
||||
use bevy::pbr::{NotShadowCaster, NotShadowReceiver};
|
||||
use crate::prelude::*;
|
||||
use regex::Regex;
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
use bevy::prelude::*;
|
||||
|
||||
pub use bevy::math::{DVec3, DQuat};
|
||||
|
||||
pub use std::f32::consts::PI as PI32;
|
||||
pub use std::f64::consts::PI;
|
||||
pub const EPSILON32: f32 = 1e-9;
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
use crate::prelude::*;
|
||||
use bevy::prelude::*;
|
||||
use bevy::math::DVec3;
|
||||
use bevy::pbr::ExtendedMaterial;
|
||||
use bevy::scene::SceneInstance;
|
||||
use bevy_xpbd_3d::prelude::*;
|
||||
|
|
|
@ -16,7 +16,6 @@ use bevy::prelude::*;
|
|||
use bevy::diagnostic::{DiagnosticsStore, FrameTimeDiagnosticsPlugin};
|
||||
use bevy::transform::TransformSystem;
|
||||
use bevy_xpbd_3d::prelude::*;
|
||||
use bevy::math::DVec3;
|
||||
use std::collections::VecDeque;
|
||||
use std::time::SystemTime;
|
||||
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
//
|
||||
// This module manages the messy, impure parts of our universe.
|
||||
|
||||
use bevy::math::DVec3;
|
||||
use std::f64::consts::PI as PI;
|
||||
use crate::prelude::*;
|
||||
|
||||
pub const OXYGEN_USE_KG_PER_S: f32 = 1e-5;
|
||||
pub const OXY_S: f32 = OXYGEN_USE_KG_PER_S;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
use crate::prelude::*;
|
||||
use bevy::prelude::*;
|
||||
use bevy::math::{DVec3, I64Vec3};
|
||||
use bevy::math::I64Vec3;
|
||||
use bevy::scene::{InstanceId, SceneInstance};
|
||||
use bevy::render::mesh::Indices;
|
||||
use bevy_xpbd_3d::prelude::*;
|
||||
|
|
Loading…
Reference in a new issue