animations: add other two sides for outline pattern
This commit is contained in:
parent
e329a56c90
commit
67f1c995ce
@ -96,6 +96,8 @@ impl Shader for TestShader {
|
|||||||
(0, 0) => RGB8::new(255, 255, 255),
|
(0, 0) => RGB8::new(255, 255, 255),
|
||||||
(0, _) => RGB8::new(255, 0, 0),
|
(0, _) => RGB8::new(255, 0, 0),
|
||||||
(_, 0) => RGB8::new(0, 255, 0),
|
(_, 0) => RGB8::new(0, 255, 0),
|
||||||
|
(255, _) => RGB8::new(0, 0, 255),
|
||||||
|
(_, 255) => RGB8::new(0, 0, 255),
|
||||||
_ => RGB8::new(0, 0, 0)
|
_ => RGB8::new(0, 0, 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user