Added A README file
This commit is contained in:
parent
7d15493417
commit
7ebdc2ec36
2 changed files with 8 additions and 1 deletions
8
README.org
Normal file
8
README.org
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
* Todo list
|
||||||
|
- [ ] Create arena allocator
|
||||||
|
- [ ] Create dynamic arrays using arena allocator
|
||||||
|
- [ ] Create stack function caller for calling library deallocators
|
||||||
|
- [ ] Create method of storing models and model data
|
||||||
|
- [ ] implement textures and simple lighting
|
||||||
|
- [ ] Figure out a simple game to make with this engine
|
||||||
|
|
||||||
|
|
@ -94,7 +94,6 @@ int main(int argc, char *argv[]) {
|
||||||
// TODO: make shader handler
|
// TODO: make shader handler
|
||||||
mat4 mvp;
|
mat4 mvp;
|
||||||
camera_calc_mvp(&mvp, &camera);
|
camera_calc_mvp(&mvp, &camera);
|
||||||
// glm_mat4_print(mvp,stdout);
|
|
||||||
int mvp_uniform_location =
|
int mvp_uniform_location =
|
||||||
glGetUniformLocation(shader.shaderProgram, "MVP");
|
glGetUniformLocation(shader.shaderProgram, "MVP");
|
||||||
glUniformMatrix4fv(mvp_uniform_location, 1, GL_FALSE, &mvp[0][0]);
|
glUniformMatrix4fv(mvp_uniform_location, 1, GL_FALSE, &mvp[0][0]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue