implement invert instruction
This commit is contained in:
parent
2b3c74053e
commit
e7863402f3
4 changed files with 50 additions and 13 deletions
|
@ -10,6 +10,7 @@ pub enum Instruction {
|
|||
Math(MathInstruction),
|
||||
Blend(BlendInstruction),
|
||||
Noise(NoiseInstruction),
|
||||
Filter(FilterInstruction),
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, PartialEq, Eq, Debug)]
|
||||
|
@ -39,3 +40,8 @@ pub enum NoiseInstruction {
|
|||
Simplex,
|
||||
Voronoi,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, PartialEq, Eq, Debug)]
|
||||
pub enum FilterInstruction {
|
||||
Invert,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue