-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
ShapeVars
helper type; use it in rendering + meshing (#190)
- Add new `ShapeVars<T>` type, representing a map from `VarIndex -> T`. This type is used for high-level rendering and meshing of `Shape` objects that include supplementary variables - Add `Octree::build_with_vars` and `Image/VoxelRenderConfig::run_with_vars` functions for shapes with supplementary variables - Change `ShapeBulkEval::eval_v` to take **single** variables (i.e. `x`, `y`, `z` vary but each variable has a constant value across the whole slice). Add `ShapeBulkEval::eval_vs` if `x`, `y`, `z` and variables are _all_ changing through the slices.
- Loading branch information
Showing
9 changed files
with
559 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.