sgltk 0.6
Simple OpenGL Tool Kit
Loading...
Searching...
No Matches
app.h File Reference
#include "config.h"
#include <GL/glew.h>
#include <string>
#include <chrono>
#include <thread>
#include <fstream>
#include <iostream>
#include <map>
#include <memory>
#include <list>
#include <vector>
#include <algorithm>
#include <exception>
#include <unistd.h>
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_opengl.h>
Include dependency graph for app.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sgltk::SYS_INFO
 System information. More...
class  sgltk::App
 Handles library initialization and provides system information. More...

Macros

#define check_gl_error(message)
#define EXPORT
#define GLM_FORCE_RADIANS
#define GLM_ENABLE_EXPERIMENTAL
#define SDL_MAIN_HANDLED

Macro Definition Documentation

◆ check_gl_error

#define check_gl_error ( message)
Value:
do{\
sgltk::App::_check_error(message, __FILE__, __LINE__);\
} while(0)

Prints out the OpenGL error message, file and line where this macro was called as well as the message string passed to it.

Definition at line 9 of file app.h.

◆ EXPORT

#define EXPORT

Definition at line 28 of file app.h.

◆ GLM_ENABLE_EXPERIMENTAL

#define GLM_ENABLE_EXPERIMENTAL

Definition at line 54 of file app.h.

◆ GLM_FORCE_RADIANS

#define GLM_FORCE_RADIANS

Definition at line 53 of file app.h.

◆ SDL_MAIN_HANDLED

#define SDL_MAIN_HANDLED

Definition at line 60 of file app.h.