Jared DiCarlo
/
manworm_tv_gpu
asdf
Fork of manworm_ticker_tv by
gfx.h@11:537cde55b27f, 2018-05-03 (annotated)
- Committer:
- dicarloj
- Date:
- Thu May 03 23:38:46 2018 +0000
- Revision:
- 11:537cde55b27f
- Parent:
- 9:2a47b9ff8911
commit before bayleys grayscale thing
Who changed what in which revision?
User | Revision | Line number | New 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 |