Tutorial by Examples

This tutorial assumes you already have a working OpenGL environment with all necessary libraries and headers available. #include <GL\glew.h> //Include GLEW for function-pointers etc. #include <GLFW\GLFW3.h> //Include GLFW for windows, context etc. //Impor...
glfwDefaultWindowHints(); glfwWindowHint(GLFW_RESIZABLE, GL_FALSE); glfwWindowHint(GLFW_SAMPLES, 4); glfwWindowHint(GLFW_VISIBLE, GL_FALSE); //Window hints are used to manipulate the behavior of later created windows //As the name suggests, they are only hints, not hard constraints, which mea...

Page 1 of 1