diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-17 15:39:40 +1100 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-17 15:39:40 +1100 |
commit | cbcd40391c445afb836217a64e0bd96bc54cb805 (patch) | |
tree | e8c3656283af96394432b61f07fb1284fec486e2 /src/renderer/render.h | |
parent | 31359e468c4f1d844f19862f63ed911b66b98068 (diff) |
rendering using transforms
Diffstat (limited to 'src/renderer/render.h')
-rw-r--r-- | src/renderer/render.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer/render.h b/src/renderer/render.h index 10702e3..61dda75 100644 --- a/src/renderer/render.h +++ b/src/renderer/render.h @@ -17,8 +17,8 @@ void render_frame_end(renderer* ren); // --- models meshes void model_upload_meshes(renderer* ren, model* model); -void draw_model(renderer* ren, camera* camera, model* model, transform tf, scene* scene); -void draw_mesh(renderer* ren, mesh* mesh, transform tf, material* mat, mat4* view, mat4* proj); +void draw_model(renderer* ren, camera* camera, model* model, mat4* tf, scene* scene); +void draw_mesh(renderer* ren, mesh* mesh, mat4* tf, material* mat, mat4* view, mat4* proj); // --- texture texture_data_load(const char* path, bool invert_y); // #frontend |