blob: 1237d9d045469f25f6862542ee1330dd93929c1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/** ---------------------------------------------------------------------------
* -*- c++ -*-
* @file: core.h
*
* Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
* MIT License, see LICENSE file for more details.
* ----------------------------------------------------------------------------
*/
#pragma once
/**
* Project namespace.
*
* Avoids collision as all the classes and global functions are wrapped in.
*/
namespace yage
{
/**
*
*/
extern void glfwErrorCallback(int, const char *);
/**
* Initializes YAGE.
*
* This is there to initialize GLFW, which is the current
* window manager that is used with OpenGL.
*/
extern void init();
/**
* Quit and cleanup YAGE.
*
* This also cleans up GLFW after it was initialized.
*/
extern void quit();
} // namespace yage
|