2018-09-28 20:35:51 +02:00
|
|
|
/*******************************************************************************/
|
|
|
|
/* COS2000 - Compatible Operating System - LGPL v3 - Hordé Nicolas */
|
|
|
|
/* */
|
2018-08-17 16:46:56 +02:00
|
|
|
#include "types.h"
|
|
|
|
|
2018-08-22 17:36:30 +02:00
|
|
|
typedef struct vertex2d{
|
2018-10-16 21:56:39 +02:00
|
|
|
u16 x;
|
|
|
|
u16 y;
|
2018-08-22 17:36:30 +02:00
|
|
|
} vertex2d __attribute__ ((packed));
|
|
|
|
|
2018-10-16 21:56:39 +02:00
|
|
|
void linev(vertex2d *A, vertex2d *B, u32 color);
|
|
|
|
void trianglefilled(vertex2d *A, vertex2d *B, vertex2d *C, u32 color);
|
|
|
|
void triangle(vertex2d *A, vertex2d *B, vertex2d *C, u32 color);
|