Boids/Nim: Difference between revisions
m
Fixed syntax highlighting.
(Creation of Nim page.) |
m (Fixed syntax highlighting.) |
||
Line 3:
{{libheader|Nim bindings for OpenGL}}
<
import opengl, opengl/glut, opengl/glu
Line 399:
boids[i].speed = rand(0.98..1.02) * MoveSpeed
initGL()
glutMainLoop()</
|