diff options
author | epoch <epoch@hacking.allowed.org> | 2017-03-19 04:51:01 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-03-19 04:51:01 -0500 |
commit | 781ecd6529505e4bf1fd400634ee83bcb9a07c81 (patch) | |
tree | a5f51756d54dff5ebb47f5435198e1db15ce345d /src/graphics_c2.h | |
parent | 17347b2e23292aad11c879d3df4a0e73c31e2ae8 (diff) | |
download | hackvr-781ecd6529505e4bf1fd400634ee83bcb9a07c81.tar.gz hackvr-781ecd6529505e4bf1fd400634ee83bcb9a07c81.zip |
I have no idea why I am doing this...
Diffstat (limited to 'src/graphics_c2.h')
-rw-r--r-- | src/graphics_c2.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/graphics_c2.h b/src/graphics_c2.h new file mode 100644 index 0000000..35920fd --- /dev/null +++ b/src/graphics_c2.h @@ -0,0 +1,17 @@ +#ifndef _HACKVR_GRAPHICS_C2_H_ +#define _HACKVR_GRAPHICS_C2_H_ + +#include "math.h" + +int c2sX(real x); +int s2cX(real x); +int c2sY(real y); +int s2cY(real y); +cs_t c2_to_cs(c2_t p); +c2_t cs_to_c2(cs_t p); +void draw_c2_line(c2_t p1,c2_t p2); +void draw_c2_shape(c2_s_t s); +void draw_c2_filled_shape(c2_s_t s); +void draw_c2_text(c2_t p,char *text); + +#endif |