MyGL
Loading...
Searching...
No Matches
common.hpp
Go to the documentation of this file.
1
3
#ifndef MYGL_COMMON
4
#define MYGL_COMMON
5
6
#include "mygl_export.h"
7
11
namespace
my
12
{
20
void
initGLFW();
21
36
template
<
typename
GLFWfunction,
typename
... Args>
37
inline
auto
glfwFunction(GLFWfunction function, Args... args) {
38
initGLFW();
39
return
function(args...);
40
}
41
}
// namespace my
42
43
#endif
// MYGL_COMMON
my
Namespace containing every class, function and enum of the library.
Definition
Camera.hpp:10
include
MyGL
common.hpp
Generated by
1.10.0