Rename to Nim

This commit is contained in:
Flaviu Tamas 2014-12-11 17:04:49 -05:00
commit 2bd2af6e1c
25 changed files with 64 additions and 64 deletions

View file

@ -7,9 +7,9 @@ The following code depends on the ``opengl`` and ``nim-glfw`` packages which
can be installed via babel by executing ``babel install opengl@#head nim-glfw@#head``.
You will need the GLFW DLL in order to run this on Windows.
![Triangle Windows](https://nimrod-by-example.github.io/images/triangle.png)
![Triangle Windows](https://nim-by-example.github.io/images/triangle.png)
One thing to keep in mind when writing OpenGL code in Nimrod is that ``float``
One thing to keep in mind when writing OpenGL code in Nim is that ``float``
is actually ``float64``. But vertices must be ``float32`` so you must explicitly
specify that by casting or using ``'f32`` as is done in the example.