summaryrefslogtreecommitdiff
path: root/src/renderer/render.h
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-21 11:52:42 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-21 11:52:42 +1000
commitff923749ef298346c5448e90e8338bfc28e4f66b (patch)
tree4ce844e04984e1b55647886bd05779aa7dc8ea18 /src/renderer/render.h
parent374567ae4b18627f9ab410e7e5a38b1e7aeb04c5 (diff)
parentd8b564ffd1257152094966784a8db3d1396a8879 (diff)
Merge branch 'master' into cel-67-load-animation-data-from-gltf
Diffstat (limited to 'src/renderer/render.h')
-rw-r--r--src/renderer/render.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/renderer/render.h b/src/renderer/render.h
index ba2cbdc..31cf3b0 100644
--- a/src/renderer/render.h
+++ b/src/renderer/render.h
@@ -13,6 +13,7 @@
#include "camera.h"
#include "loaders.h"
#include "render_types.h"
+#include "transform_hierarchy.h"
// --- Lifecycle
/** @brief initialise the render system frontend */
@@ -32,8 +33,10 @@ void render_frame_draw(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);
+void draw_scene(arena* frame, model_darray* models, renderer* ren, camera* camera,
+ transform_hierarchy* tfh, scene* scene);
void draw_skinned_model(renderer* ren, camera* cam, model* model, transform tf, scene* scene);