x = random() % max
y = random() % max
z = random() % max
while (do more dots)
{
Vertex3i(x, y, z)
x = y
y = z
z = random() % max
} |
| Catfish4 wrote: |
|---|
| I don't like it, mostly because of the modulo. How should I do things? |
| Are the 'things' generating random numbers? |
| I ask this because by using modulo, information is lost. |