From d0047af322b022104ae2707f1479d1623d62da5f Mon Sep 17 00:00:00 2001 From: Connor Thomson Date: Tue, 8 Sep 2026 18:32:32 -0700 Subject: Remove dounut from teapot.c --- src/teapot.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/teapot.c') diff --git a/src/teapot.c b/src/teapot.c index 751eb55..ad5ecc5 100644 --- a/src/teapot.c +++ b/src/teapot.c @@ -37,19 +37,6 @@ void ta_teapot_init(void) { ta_gpu_sample_count ); ta_teapot_model.position[1] = 1.0f; - - ta_obj_model_init( - &ta_dounut_model, - ta_gpu_device, - file_data_models_dounut_obj_start, - file_data_models_dounut_obj_size, - ta_gpu_swapchain_format, - SDL_GPU_TEXTUREFORMAT_D32_FLOAT, - ta_gpu_sample_count - ); - ta_dounut_model.position[1] = -1.0f; - ta_dounut_model.rotation[0] = -1.0f; - } void ta_teapot_upload(SDL_GPUCommandBuffer *command_buffer) { @@ -60,11 +47,8 @@ void ta_teapot_upload(SDL_GPUCommandBuffer *command_buffer) { void ta_teapot_render(SDL_GPUCommandBuffer *command_buffer, SDL_GPURenderPass *render_pass) { ta_teapot_model.rotation[1] = (float)SDL_GetTicks() * 0.01f; ta_obj_model_render(&ta_teapot_model, command_buffer, render_pass, ta_window_width, ta_window_height); - ta_dounut_model.rotation[1] = (float)SDL_GetTicks() * 0.01f; - ta_obj_model_render(&ta_dounut_model, command_buffer, render_pass, ta_window_width, ta_window_height); } void ta_teapot_shutdown(void) { ta_obj_model_destroy(&ta_teapot_model, ta_gpu_device); - ta_obj_model_destroy(&ta_dounut_model, ta_gpu_device); } -- cgit v1.2.3