aboutsummaryrefslogtreecommitdiffstats
path: root/glfunc.h
Commit message (Collapse)AuthorAgeFilesLines
* remove unused glUniform3f and glUniform4fTomasz Kramkowski2022-10-161-2/+0
|
* Cleanup passTomasz Kramkowski2018-10-271-35/+35
|
* use shaders/data.h for the definition of verticesTomasz Kramkowski2018-10-221-0/+1
| | | | | | | | | | | | | Now that shaders/data.h is in place, it can be taken to the next extreme. The information stored in shaders/data.h is plentiful enough that vertex attribute location information can be standardised, the definition of vertices can be specified in only one place and the bindings for vertex information can be generated. It's around this point in time that I wish there was a better pre-processor for all this. It might make things a lot cleaner.
* Implement diffuse texture loading and basic material supportTomasz Kramkowski2018-05-021-0/+6
|
* Implement basic model loading of FMD format.Tomasz Kramkowski2018-04-271-0/+3
| | | | | | | | | | | | 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.
* glfunc.h: remove superfluous semicolonsTomasz Kramkowski2018-04-261-3/+3
|
* Fixup license headersTomasz Kramkowski2018-04-221-3/+4
|
* Simplify gl loading by removing m4 and merging gldefs.hTomasz Kramkowski2018-03-301-0/+44
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.