don't re-export StaticSim from sim/mod.rs
this way we can clearly spot the legacy users.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use coremem::*;
|
||||
use coremem::geom::*;
|
||||
use coremem::real::{Real as _, ToFloat as _};
|
||||
use coremem::sim::legacy::mat::Static;
|
||||
use coremem::sim::legacy::{mat::Static, StaticSim};
|
||||
use coremem::stim::AbstractStimulus;
|
||||
use coremem::types::vec::Vec3;
|
||||
use rand::rngs::StdRng;
|
||||
|
@@ -1,7 +1,8 @@
|
||||
use crate::geom::Meters;
|
||||
use crate::real::ToFloat as _;
|
||||
use crate::types::vec::{Vec2, Vec3};
|
||||
use crate::sim::{SampleableSim, Sample, StaticSim};
|
||||
use crate::sim::{SampleableSim, Sample};
|
||||
use crate::sim::legacy::StaticSim;
|
||||
use crate::meas::{self, AbstractMeasurement};
|
||||
use crossterm::{cursor, QueueableCommand as _};
|
||||
use crossterm::style::{style, Color, PrintStyledContent, Stylize as _};
|
||||
|
@@ -11,7 +11,7 @@ pub mod legacy;
|
||||
pub mod spirv;
|
||||
pub mod units;
|
||||
|
||||
pub use legacy::StaticSim;
|
||||
use legacy::StaticSim;
|
||||
|
||||
|
||||
pub trait MaterialSim: GenericSim {
|
||||
|
@@ -1,8 +1,7 @@
|
||||
//! Post-processing tools
|
||||
use coremem::meas::AbstractMeasurement;
|
||||
use coremem::render::{ColorTermRenderer, Renderer as _, RenderConfig, SerializedFrame};
|
||||
use coremem::sim::StaticSim;
|
||||
use coremem::sim::legacy::SimState;
|
||||
use coremem::sim::legacy::{SimState, StaticSim};
|
||||
|
||||
use itertools::Itertools as _;
|
||||
use lru::LruCache;
|
||||
|
Reference in New Issue
Block a user