move spirv_backend/sim.rs -> coremem_types/step.rs
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use crate::sim::{StepEContext, StepHContext, VolumeSampleNeg, VolumeSamplePos};
|
use coremem_types::step::{StepEContext, StepHContext, VolumeSampleNeg, VolumeSamplePos};
|
||||||
use crate::support::{Array3, Array3Mut, UnsizedArray};
|
use crate::support::{Array3, Array3Mut, UnsizedArray};
|
||||||
use coremem_types::compound::Optional;
|
use coremem_types::compound::Optional;
|
||||||
use coremem_types::mat::Material;
|
use coremem_types::mat::Material;
|
||||||
|
@@ -13,7 +13,6 @@ pub use spirv_std::glam;
|
|||||||
use spirv_std::macros::spirv;
|
use spirv_std::macros::spirv;
|
||||||
|
|
||||||
mod adapt;
|
mod adapt;
|
||||||
pub mod sim;
|
|
||||||
pub mod support;
|
pub mod support;
|
||||||
|
|
||||||
pub use adapt::SerializedSimMeta;
|
pub use adapt::SerializedSimMeta;
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
pub mod compound;
|
pub mod compound;
|
||||||
pub mod mat;
|
pub mod mat;
|
||||||
pub mod real;
|
pub mod real;
|
||||||
|
pub mod step;
|
||||||
pub mod vec;
|
pub mod vec;
|
||||||
// private because `vec` re-exports to important vecu constructs
|
// private because `vec` re-exports to important vecu constructs
|
||||||
mod vecu;
|
mod vecu;
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
// use spirv_std::RuntimeArray;
|
use crate::compound::Optional;
|
||||||
use coremem_types::compound::Optional;
|
use crate::mat::Material;
|
||||||
use coremem_types::mat::Material;
|
use crate::real::Real;
|
||||||
use coremem_types::real::Real;
|
use crate::vec::Vec3;
|
||||||
use coremem_types::vec::Vec3;
|
|
||||||
|
|
||||||
/// Package the field vectors adjacent to some particular location.
|
/// Package the field vectors adjacent to some particular location.
|
||||||
/// Particular those at negative offsets from the midpoint.
|
/// Particular those at negative offsets from the midpoint.
|
Reference in New Issue
Block a user