This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////////// | |
//// stdin, stdout, stderr link error for vs2015 | |
//// override implementation of __iob_func | |
//// https://stackoverflow.com/questions/30412951/unresolved-external-symbol-imp-fprintf-and-imp-iob-func-sdl2 | |
#if ( _msc_ver >= 1900 ) | |
#include <cstdio> | |
extern "c" file * __cdecl __iob_func(void) | |
{ | |
struct _iobuf_vs2012 { // ...\microsoft visual studio 11.0\vc\include\stdio.h #56 | |
char *_ptr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"stated": { | |
"default": "button_default.9.png", | |
"checked": "button_checked.9.png", | |
"hovered": "button_hovered.9.png", | |
"pressed": "button_pressed.9.png", | |
"disabled": "button_disabled.9.png" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <cmath> | |
#include <GLFW/glfw3.h> | |
#include <OpenGL/GL.h> | |
#include <OpenGL/GLU.h> | |
#include <glm/glm.hpp> | |
#include <glm/gtc/type_ptr.hpp> | |
#include <glm/gtc/matrix_transform.hpp> |