asdf

Dependencies:   mbed

Fork of manworm_ticker_tv by Bayley Wang

Committer:
dicarloj
Date:
Sat Mar 10 05:09:55 2018 +0000
Revision:
9:2a47b9ff8911
Child:
11:537cde55b27f
before buffer switch

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dicarloj 9:2a47b9ff8911 1 #ifndef _gfx
dicarloj 9:2a47b9ff8911 2 #define _gfx
dicarloj 9:2a47b9ff8911 3 struct point_t
dicarloj 9:2a47b9ff8911 4 {
dicarloj 9:2a47b9ff8911 5 float x,y,z;
dicarloj 9:2a47b9ff8911 6 };
dicarloj 9:2a47b9ff8911 7
dicarloj 9:2a47b9ff8911 8 struct line_t
dicarloj 9:2a47b9ff8911 9 {
dicarloj 9:2a47b9ff8911 10 point_t *a, *b;
dicarloj 9:2a47b9ff8911 11 };
dicarloj 9:2a47b9ff8911 12
dicarloj 9:2a47b9ff8911 13 struct cube_t
dicarloj 9:2a47b9ff8911 14 {
dicarloj 9:2a47b9ff8911 15 point_t* points[8];
dicarloj 9:2a47b9ff8911 16 line_t* lines[12];
dicarloj 9:2a47b9ff8911 17 };
dicarloj 9:2a47b9ff8911 18
dicarloj 9:2a47b9ff8911 19 void init_gfx();
dicarloj 9:2a47b9ff8911 20 char* get_gfx_stat();
dicarloj 9:2a47b9ff8911 21 void new_frame(char c);
dicarloj 9:2a47b9ff8911 22 #endif