asdf

Dependencies:   mbed

Fork of manworm_ticker_tv by Bayley Wang

Committer:
dicarloj
Date:
Fri May 04 01:45:05 2018 +0000
Revision:
12:e99cc1e9d928
Parent:
11:537cde55b27f
lol it works;

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 11:537cde55b27f 21 void new_frame(float pitch_rate, float yaw_rate);
dicarloj 9:2a47b9ff8911 22 #endif