use colors
This commit is contained in:
parent
0843b26250
commit
d19b2ee65c
2 changed files with 7 additions and 7 deletions
Binary file not shown.
Before Width: | Height: | Size: 393 B After Width: | Height: | Size: 441 B |
|
@ -297,14 +297,14 @@ block:
|
|||
let draws = [
|
||||
# Overlaps in bounds
|
||||
(vec2(-50, -50), color(1, 0, 0, 1)),
|
||||
(vec2(50, -50), color(1, 0, 0, 1)),
|
||||
(vec2(50, 50), color(1, 0, 0, 1)),
|
||||
(vec2(-50, 50), color(1, 0, 0, 1)),
|
||||
(vec2(50, -50), color(0, 1, 0, 1)),
|
||||
(vec2(50, 50), color(0, 0, 1, 1)),
|
||||
(vec2(-50, 50), color(1, 1, 0, 1)),
|
||||
# Out of bounds
|
||||
(vec2(-100, 00), color(1, 0, 0, 1)),
|
||||
(vec2(0, -100), color(1, 0, 0, 1)),
|
||||
(vec2(100, 00), color(1, 0, 0, 1)),
|
||||
(vec2(0, 100), color(1, 0, 0, 1))
|
||||
(vec2(-100, 00), color(1, 0, 1, 1)),
|
||||
(vec2(0, -100), color(0, 1, 1, 1)),
|
||||
(vec2(100, 00), color(0.5, 0.5, 0.5, 1)),
|
||||
(vec2(0, 100), color(0.75, 0.75, 0, 1))
|
||||
]
|
||||
for (translation, color) in draws:
|
||||
let
|
||||
|
|
Loading…
Reference in a new issue