diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-12-04 14:55:24 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-12-04 14:55:24 -0500 |
| commit | b56c621bf7c8689ba4b5d9fd64a6d69387f705df (patch) | |
| tree | abaa9aa9e41a04f06a42913472f01a31829a756c /src/main.c | |
| parent | initial chunk rendering (diff) | |
| download | voxel-b56c621bf7c8689ba4b5d9fd64a6d69387f705df.tar.gz voxel-b56c621bf7c8689ba4b5d9fd64a6d69387f705df.tar.bz2 voxel-b56c621bf7c8689ba4b5d9fd64a6d69387f705df.zip | |
add ubos
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ #include "voxel.h" #include "window.h" #include "shader.h" +#include "mesh.h" int main(void) { @@ -35,7 +36,7 @@ int main(void) camera_proj_view(&camera, proj_view); shader_bind(shader); - shader_loadm4f(0, proj_view); + shader_load_mat4(0, proj_view); mesh_bind(&mesh); mesh_draw(&mesh); mesh_unbind(&mesh); |