dinau/nim-opengl-test
OpenGL test program with Nim language
OpenGL test program with Nim language
This program is referred from this page,
and converted to Nim language.
Note: I only confirmed on Windows10 32bit enviromnet at this moment.
git clone http://github.com/dinau/nim-opengl-test.git
cd nim-opengl-test
nimble run
If you'd like to use nimble build/run
or etc,
Nim version must be nim-1.6.0
or later.
Because GFLW-3.3 warpper depends on nim-1.6.0 or later.
However if you'd like to use nim-1.0.0
or later,
use to build,
make
If you are on Windows10 64bit OS,
replace glfw3.dll
with glfw3.dll-64bit/glfw3.dll
.
If you'd like to statically link glfw3 library,
enable below line,
switch "define","glfwStaticLib"`
in config.nims
S
key : toggledQ
key or Esc
keyR
key