Boids/Wren: Difference between revisions
→Code: Fixed syntax highlight isse.
m (→Code: Fixed syntax highlighting.) |
(→Code: Fixed syntax highlight isse.) |
||
Line 556:
Boids[i].speed = (0.98 + 0.04 * Rand.float()) * MOVE_SPEED
}
InitGL.call()</
<br>
We now embed this Wren script in the following C program, compile and run it.
<
#include <stdlib.h>
#include <string.h>
|