aboutsummaryrefslogtreecommitdiffstats
path: root/gl.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace manual definitions of GL types and enums with GL/gl.hTomasz Kramkowski2018-05-041-77/+1
| | | | | This is cumbersome and pointless. The goal is to write a simple loader not to rewrite the entire OpenGL header file.
* Implement diffuse texture loading and basic material supportTomasz Kramkowski2018-05-021-0/+16
|
* Enable SRGB framebuffer and backface culling.Tomasz Kramkowski2018-05-021-0/+2
|
* gl.h: Clean up enumeration constants for error returns.Tomasz Kramkowski2018-04-271-7/+7
|
* Implement basic model loading of FMD format.Tomasz Kramkowski2018-04-271-1/+6
| | | | | | | | | | | | The FMD (Faqe Model Data) format is a format designed for faqe. It stores vertex, element and material information and mesh information. This patch provides the basic implementation and use of this format. This patch also implements perspective projection, depth testing and view and model matrices. An example fmd file is provided.
* Simplify gl loading by removing m4 and merging gldefs.hTomasz Kramkowski2018-03-301-0/+75
m4 has been removed, loadgl.c.in is now gl.c, gldefs.h and loadgl.h.in have now been merged into gl.h. loadgl.m4 has been transformed into glfunc.h which is being used in the way of a bie index file to generate information at 3 places. lgl_load is now gl_load and doesn't return anything, the jongjmp.h method of error handling was pre-emptive and for now this much simpler system will suffice. This means that lgl_strerror is no longer neede.