3 ms·
This was actually one of the tripups for me when I learned C originally to do OpenGL. POSIX (or at least ISO C) defines rand as being seeded with 0 by default.
by indrora 4y ago
This was actually one of the tripups for me when I learned C originally to do OpenGL.
POSIX (or at least ISO C) defines rand as being seeded with 0 by default.