From 941256e3cbd62a0cf88641c8e865b26b8e3fcd32 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 22 Sep 2020 01:20:42 -0700 Subject: 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. --- src/pig.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/pig.h') diff --git a/src/pig.h b/src/pig.h index 7042a3f..3f0a24c 100644 --- a/src/pig.h +++ b/src/pig.h @@ -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 -- cgit v1.2.3