mirror of
https://github.com/DaedalusX64/daedalus.git
synced 2025-04-02 10:21:48 -04:00
34 lines
518 B
C
34 lines
518 B
C
#ifndef SYSGL_GL_H_
|
|
#define SYSGL_GL_H_
|
|
|
|
#include <GL/glew.h>
|
|
#include <GLFW/glfw3.h>
|
|
|
|
#include "Utility/DaedalusTypes.h"
|
|
|
|
extern GLFWwindow * gWindow;
|
|
|
|
// FIXME: burn all of this with fire.
|
|
|
|
void sceGuFog(float mn, float mx, u32 col);
|
|
|
|
enum EGuTextureWrapMode
|
|
{
|
|
GU_CLAMP = GL_CLAMP_TO_EDGE,
|
|
GU_REPEAT = GL_REPEAT,
|
|
};
|
|
|
|
enum EGuMatrixType
|
|
{
|
|
GU_PROJECTION = GL_PROJECTION,
|
|
};
|
|
|
|
struct ScePspFMatrix4
|
|
{
|
|
float m[16];
|
|
};
|
|
|
|
void sceGuSetMatrix(EGuMatrixType type, const ScePspFMatrix4 * mtx);
|
|
|
|
|
|
#endif // SYSGL_GL_H_
|