a
This commit is contained in:
parent
91b2cf3c28
commit
a1bfb5b273
@ -150,7 +150,7 @@ void vine2(int x1, int y1, float anchor, float turn, int speed, int cost, Color
|
|||||||
|
|
||||||
if (clone > 0 && rand() % 10 == 0)
|
if (clone > 0 && rand() % 10 == 0)
|
||||||
{
|
{
|
||||||
thread t(vine2, x1, y1, anchor + rand() % 10 / 23.0, turn * (-1 + rand() % 2 * 2), speed + rand() % 2, cost, Color(rand() % 70, 155 + rand() % 100, 20 + rand() % 70), 0, --clone);
|
thread t(vine2, x1, y1, anchor + rand() % 10 / 20.0, turn * (-1 + rand() % 2 * 2), speed + rand() % 2, cost, Color(rand() % 70, 115 + rand() % 3 * 70, 20 + rand() % 20), 0, --clone);
|
||||||
t.detach();
|
t.detach();
|
||||||
}
|
}
|
||||||
if (count % 9 == 0)
|
if (count % 9 == 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user