about summary refs log tree commit diff
path: root/generator/pamtris/triangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'generator/pamtris/triangle.h')
-rw-r--r--generator/pamtris/triangle.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/generator/pamtris/triangle.h b/generator/pamtris/triangle.h
new file mode 100644
index 00000000..07e6d065
--- /dev/null
+++ b/generator/pamtris/triangle.h
@@ -0,0 +1,17 @@
+#ifndef TRIANGLE_H_INCLUDED
+#define TRIANGLE_H_INCLUDED
+
+#include <stdint.h>
+
+#include "limits_pamtris.h"
+
+struct boundary_info;
+struct framebuffer_info;
+
+void
+draw_triangle(int32_t            xy[3][2],
+              int32_t            attribs[3][MAX_NUM_ATTRIBS + 1],
+              struct boundary_info *,
+              struct framebuffer_info *);
+
+#endif