Debian Codegraph @

generator/pamtris/triangle.h

raw
1 #ifndef TRIANGLE_H_INCLUDED
2 #define TRIANGLE_H_INCLUDED
3
4 #include <stdint.h>
5
6 #include "limits_pamtris.h"
7
8 struct boundary_info;
9 struct framebuffer_info;
10
11 typedef struct {
12 int32_t _[3][2];
13 } Xy;
14
15 typedef struct {
16 int32_t _[3][MAX_NUM_ATTRIBS + 2];
17 } Attribs;
18
19 void
20 draw_triangle(Xy const xy,
21 Attribs const attribs,
22 struct boundary_info * const bdi,
23 struct framebuffer_info * const fbi);
24
25 #endif