Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ttools: rationalise and refactor RampKeySet
Make RampKeySet more flexible, and use it for the density shading in ShapeMode as well as for Aux and Spectro shading. This eliminates some special case/duplicated code in density shading, and makes it easier to add extra shader functionality in a consistent way for different functions. RampKeySet.Ramp interface now just aggregates a Shader and a Scaling, which is all it was really doing before.
- Loading branch information
Showing
6 changed files
with
219 additions
and
257 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
Oops, something went wrong.