diff options
| author | Connor Thomson <blumatrikz@gmail.com> | 2026-09-12 14:16:55 -0700 |
|---|---|---|
| committer | Connor Thomson <blumatrikz@gmail.com> | 2026-09-12 14:16:55 -0700 |
| commit | 251b611fef77533082165bab0b88eefa05b49fbe (patch) | |
| tree | a3286e1fb991f5b0ecbace6208cb6c0ef1dcb845 /src/teapot.c | |
| parent | 8fc46365d6bdcde0c18a8b413b9f7a80fa487107 (diff) | |
Diffstat (limited to 'src/teapot.c')
| -rw-r--r-- | src/teapot.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/teapot.c b/src/teapot.c index 3d9cb6d..a8889c9 100644 --- a/src/teapot.c +++ b/src/teapot.c @@ -62,6 +62,11 @@ void ta_teapot_render(SDL_GPUCommandBuffer *command_buffer, SDL_GPURenderPass *r ta_model_render(&ta_floor_model, command_buffer, render_pass, ta_window_width, ta_window_height); } +void ta_teapot_render_shadow(SDL_GPUCommandBuffer *command_buffer, SDL_GPURenderPass *render_pass) { + ta_model_render_shadow(&ta_teapot_model, command_buffer, render_pass); + ta_model_render_shadow(&ta_floor_model, command_buffer, render_pass); +} + void ta_teapot_shutdown(void) { ta_model_destroy(&ta_teapot_model, ta_gpu_device); ta_model_destroy(&ta_floor_model, ta_gpu_device); |