Code:fullscreen main.h: Difference between revisions

no edit summary
(Created page with "C header for easy OpenGL programming. Gets rid of most boilerplate code. ==Code== <syntaxhighlight lang="c"> →‎** Elie's OpenGL wrapper Creates a fullscreen vsync'd context with game-style access to keyboard & mouse. Version 1.1 **: #pragma once // This header file implements main(). // Here are the functions you must define in your own code: void init(); void draw(); void done(); /** Notes: * * The init() function is called once at startup. This is the place...")
 
No edit summary
 
Line 1: Line 1:
C header for easy OpenGL programming. Gets rid of most boilerplate code.
C header for easy OpenGL programming.
 
Gets rid of most boilerplate code. With this, you don't even implement <code>main()</code> - you implement 3 functions <code>init()</code>, <code>draw()</code>, and <code>done()</code>. For more info and examples of how to use it, check out https://github.com/Elie9001/opengl-starter-kit


==Code==
==Code==