aboutsummaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/graphics.h b/graphics.h
index be3105d..57aa56e 100644
--- a/graphics.h
+++ b/graphics.h
@@ -4,7 +4,6 @@ typedef enum {
} Projection;
typedef struct Vertex Vertex;
-typedef struct Triangle Triangle;
typedef struct Viewport Viewport;
typedef struct Camera Camera;
@@ -14,10 +13,6 @@ struct Vertex {
//Image tx; /* (?) */
};
-struct Triangle {
- Point p0, p1, p2;
-};
-
struct Camera {
RFrame3; /* VCS */
Image *viewport;
@@ -29,12 +24,6 @@ struct Camera {
Projection ptype;
};
-/* Triangle */
-Triangle Trian(int, int, int, int, int, int);
-Triangle Trianpt(Point, Point, Point);
-void triangle(Image *, Triangle, int, Image *, Point);
-void filltriangle(Image *, Triangle, Image *, Point);
-
/* Camera */
void perspective(Matrix3, double, double, double, double);
void orthographic(Matrix3, double, double, double, double, double, double);