diff options
Diffstat (limited to 'graphics.h')
-rw-r--r-- | graphics.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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); |