DuctTaped_GL/DGL_MiscTypes.hpp

43 lines
590 B
C++
Raw Normal View History

2020-02-12 00:29:35 -08:00
#pragma once
// OpenGL
#include <glew.h>
#include <glm/detail/type_vec3.hpp>
2020-02-12 00:29:35 -08:00
// Duck Tape
#include "DGL_FundamentalTypes.hpp"
// Non-Standard C++
#include "Cpp_Alias.hpp"
namespace GL
{
namespace Generic
{
template<typename Type>
using Vector3 = glm::tvec3<Type>;
}
using DataPtr = ptr<GLvoid>;
2020-02-12 00:29:35 -08:00
template<typename ReferenceType>
using ID = gUInt;
// ID Reference Types
class Buffer;
class Matrix;
class Shader;
2020-02-12 00:29:35 -08:00
class ShaderProgram;
class VertexBuffer;
class ElementBuffer;
using Matrix4x4 = glm::mat4;
2020-02-12 00:29:35 -08:00
using Vector3 = glm::vec3;
using Vector4 = glm::vec4;
2020-02-12 00:29:35 -08:00
}