Updated TOC. Fixed build hopefully.

This commit is contained in:
Dominik Picheta 2014-07-27 13:52:20 +01:00
commit 442d904b09
3 changed files with 4 additions and 2 deletions

View file

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Before After
Before After

View file

@ -7,7 +7,7 @@ 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/opengl/triangle.png)
![Triangle Windows](https://nimrod-by-example.github.io/images/triangle.png)
One thing to keep in mind when writing OpenGL code in Nimrod is that ``float``
is actually ``float64``. But vertices must be ``float32`` so you must explicitly

View file

@ -23,4 +23,6 @@
* [Bitsets](/bitsets/)
* [Varargs](/varargs/)
* [OOP Macro](/oop_macro/)
{: #toc-list}
* OpenGL
* [Triangle](/opengl/triangle/)
{: #toc-list}