Bayley Wang
/
manworm_tv_raster
cube
Fork of manworm_tv_gpu by
Embed:
(wiki syntax)
Show/hide line numbers
raster.h
00001 #ifndef __RASTER_H 00002 #define __RASTER_H 00003 00004 void clear_zbuf(); 00005 void hline(int16_t xmin, int16_t xmax, int16_t y, uint8_t color, int8_t zmin, int8_t zmax) ; 00006 void fill_triangle(int16_t x1, int16_t y1, int16_t x2, int16_t y2, int16_t x3, int16_t y3, uint8_t color, int8_t z1, int8_t z2, int8_t z3); 00007 00008 extern float theta, phi, cx, cy, cz; 00009 00010 void add_quad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4, uint8_t color); 00011 void render_quads(); 00012 #endif
Generated on Sun Jul 24 2022 19:17:32 by 1.7.2