Tweak recipe arrows
This commit is contained in:
parent
798b58c3f2
commit
5df5369372
1 changed files with 8 additions and 4 deletions
|
|
@ -1688,11 +1688,15 @@ namespace gmtk
|
|||
}
|
||||
|
||||
i = 3;
|
||||
|
||||
float s = 0.25f;
|
||||
float t = 0.25f * std::sqrt(0.75f);
|
||||
|
||||
painter_.triangle(
|
||||
pen + geom::vector{(i - 0.25f) * step, -0.25f * step},
|
||||
pen + geom::vector{(i - 0.25f) * step, 0.25f * step},
|
||||
pen + geom::vector{(i + 0.25f) * step, 0.f},
|
||||
{127, 127, 127, 255}
|
||||
pen + geom::vector{(i - t) * step, -s * step},
|
||||
pen + geom::vector{(i - t) * step, s * step},
|
||||
pen + geom::vector{(i + t) * step, 0.f},
|
||||
{192, 192, 192, 255}
|
||||
);
|
||||
|
||||
i = 4;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue