diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-09-22 01:20:42 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-09-22 01:24:28 -0700 |
commit | 941256e3cbd62a0cf88641c8e865b26b8e3fcd32 (patch) | |
tree | 4334fcbae300044dd9de2935a5b6846c3acea7fe /src/pig.h | |
parent | f8d142c8c03faadff939846a1acb35be4588b453 (diff) |
pig: remove vestigial helpers
These came from my game boilerplate I bootstrapped pig from.
If pig becomes more interactive with the need for things like
mapping mouse movement and clicks into NDC space these can be
restored.
Diffstat (limited to 'src/pig.h')
-rw-r--r-- | src/pig.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -35,13 +35,4 @@ typedef struct pig_t { v3f_t color; } pig_t; -void pig_canvas_size(pig_t *pig, int *res_width, int *res_height); -void pig_canvas_to_ndc(pig_t *pig, int x, int y, float *res_x, float *res_y); -void pig_canvas_from_ndc(pig_t *pig, float x, float y, int *res_x, int *res_y); -void pig_viewport_size(pig_t *pig, int *res_width, int *res_height); -void pig_viewport_to_ndc(pig_t *pig, int x, int y, float *res_x, float *res_y); -void pig_viewport_from_ndc(pig_t *pig, float x, float y, int *res_x, int *res_y); -uint32_t pig_viewport_id(pig_t *pig); -void pig_toggle_fullscreen(pig_t *pig); - #endif |