don't re-export StaticSim from sim/mod.rs

this way we can clearly spot the legacy users.
This commit is contained in:
2022-07-27 15:42:18 -07:00
parent 93967485f0
commit dc38457a8b
4 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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 _};

View File

@@ -11,7 +11,7 @@ pub mod legacy;
pub mod spirv;
pub mod units;
pub use legacy::StaticSim;
use legacy::StaticSim;
pub trait MaterialSim: GenericSim {

View File

@@ -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;