Can now load models from file, kinda
This commit is contained in:
parent
4c3c1687ef
commit
ac5bf9abdb
13 changed files with 10247 additions and 12 deletions
|
@ -23,4 +23,29 @@ namespace oglu
|
|||
glClearColor(clearColor.r, clearColor.g, clearColor.b, clearColor.a);
|
||||
glClear(mask);
|
||||
}
|
||||
|
||||
void Enable(GLenum cap)
|
||||
{
|
||||
glEnable(cap);
|
||||
}
|
||||
|
||||
void Disable(GLenum cap)
|
||||
{
|
||||
glDisable(cap);
|
||||
}
|
||||
|
||||
void Enable(GLenum cap, GLuint index)
|
||||
{
|
||||
glEnablei(cap, index);
|
||||
}
|
||||
|
||||
void Disable(GLenum cap, GLuint index)
|
||||
{
|
||||
glDisablei(cap, index);
|
||||
}
|
||||
|
||||
void PolygonMode(GLenum face, GLenum mode)
|
||||
{
|
||||
glPolygonMode(face, mode);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue