replace 'StaticSim' with the SpirvSim type, material being the Vacuum
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
use crate::geom::Meters;
|
||||
use crate::real::ToFloat as _;
|
||||
use crate::types::vec::{Vec2, Vec3};
|
||||
use crate::sim::{SampleableSim, Sample};
|
||||
use crate::sim::legacy::StaticSim;
|
||||
use crate::sim::{SampleableSim, Sample, StaticSim};
|
||||
use crate::meas::{self, AbstractMeasurement};
|
||||
use crossterm::{cursor, QueueableCommand as _};
|
||||
use crossterm::style::{style, Color, PrintStyledContent, Stylize as _};
|
||||
@@ -577,6 +576,9 @@ impl<S: SampleableSim> SerializedFrame<S> {
|
||||
}
|
||||
}
|
||||
|
||||
/// this serializes the simulation state plus measurements to disk.
|
||||
/// it can either convert the state to a generic, material-agnostic format (static)
|
||||
/// or dump it as-is.
|
||||
pub struct SerializerRenderer {
|
||||
fmt_str: String,
|
||||
prefer_static: bool,
|
||||
|
Reference in New Issue
Block a user