fixed comment newline seperator

This commit is contained in:
incredibleLeitman 2020-11-30 19:56:48 +01:00
parent 872cd6c452
commit 0500981fdd

View File

@ -94,6 +94,15 @@ public:
{
x = (i%2 == 0) ? OFFSET : WIDTH - OFFSET;
y = diff/2 + (i/2) * diff;
/*if (i % 4 == 0)
{
x = OFFSET;
}
else
{
x = (i % 4) * WIDTH / 4;
}
y = diff / 4 + (i / 4) * diff;*/
points.push_back(Point(x, y));
}
@ -129,8 +138,8 @@ public:
for (int i = 0; i < valCount; ++i)
{
x = OFFSET + static_cast <float> (rand()) / (static_cast <float> (RAND_MAX / (std::min(WIDTH, HEIGHT) - 2 * OFFSET)));
points.push_back(Point(x, HEIGHT - x)); // /
//points.push_back(Point(x, HEIGHT - x)); // \
points.push_back(Point(x, HEIGHT - x)); // ascending
//points.push_back(Point(x, HEIGHT - x)); // descending
}
return points;
}