OpenGL test program with Nim language
This program is referred from this page,
- https://github.com/rylmovuk/zig-opengl-test
Thank you nice demo.
and converted to Nim language.
git clone https://github.com/dinau/nim-opengl-test.git
cd nim-opengl-test
nimble run
or
make runIf you'd like to statically link glfw3 library,
enable below line,
switch "define","glfwStaticLib"`
in config.nims
- Pause drawing: Press
SorSpacekey : toggled - Reset windows size: Press
Rkey - Quit program: Press
Qkey orEsckey
