diff options
| author | realtradam <[email protected]> | 2023-06-18 23:09:15 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-06-18 23:09:15 -0400 |
| commit | bc1f62c43d65a5fe9dafd4124e5e780287641621 (patch) | |
| tree | 5dfe2c45c60e5aa4ccf37b4cd40e910b3001dd7a | |
| parent | c42aa675696463f7cd30b331af9d32ae7afcbd56 (diff) | |
| download | rodeo_sample_game-bc1f62c43d65a5fe9dafd4124e5e780287641621.tar.gz rodeo_sample_game-bc1f62c43d65a5fe9dafd4124e5e780287641621.zip | |
.
| m--------- | external/RodeoKit | 0 | ||||
| -rw-r--r-- | src/main.c | 7 |
2 files changed, 5 insertions, 2 deletions
diff --git a/external/RodeoKit b/external/RodeoKit -Subproject 2b4fef04217ba2b0ab5eb71cc23d518340cd979 +Subproject ed248e655236699bdeae473a602b2c74b2f47fa @@ -300,6 +300,7 @@ main_loop(void) .height = 19 }, 0, + (rodeo_math_vec2_t){0}, (rodeo_color_RGBAFloat_t){ .array = {1,1,1,1} }, texture ); @@ -319,14 +320,15 @@ main_loop(void) .height = 19 }, 0, + (rodeo_math_vec2_t){0}, (rodeo_color_RGBAFloat_t){ .array = {1.0,1.0,1.0,1.0} }, texture ); rodeo_gfx_texture_2d_draw( (rodeo_rectangle_t){ - .x = (float)*(int64_t*)mouse_x_input(NULL,NULL) - (orc_size[1] / 2.0f), - .y = (float)*(int64_t*)mouse_y_input(NULL,NULL) - (orc_size[1] / 2.0f), + .x = (float)*(int64_t*)mouse_x_input(NULL,NULL), + .y = (float)*(int64_t*)mouse_y_input(NULL,NULL), .width = orc_size[0], .height = orc_size[1], }, @@ -337,6 +339,7 @@ main_loop(void) .height = 19 }, (float)rodeo_gfx_frame_count_get() / 60.0f, + (rodeo_math_vec2_t){ .val = { .x = orc_size[0]/2.0f, .y = orc_size[1]/2.0f } }, (rodeo_color_RGBAFloat_t){ .array = {1.0,1.0,1.0,1.0} }, texture ); |
