summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/graphics.h b/graphics.h
index 55c378c..7eb284d 100644
--- a/graphics.h
+++ b/graphics.h
@@ -129,9 +129,8 @@ void rmviewport(Viewport*);
/* render */
Point3 world2vcs(Camera*, Point3);
-Point3 vcs2ndc(Camera*, Point3);
-Point3 world2ndc(Camera*, Point3);
-Point3 ndc2viewport(Camera*, Point3);
+Point3 vcs2clip(Camera*, Point3);
+Point3 world2clip(Camera*, Point3);
void perspective(Matrix3, double, double, double, double);
void orthographic(Matrix3, double, double, double, double, double, double);
@@ -139,8 +138,6 @@ void orthographic(Matrix3, double, double, double, double, double, double);
double fmin(double, double);
double fmax(double, double);
Memimage *rgb(ulong);
-Memimage *readtga(char*);
-Memimage *readpng(char*);
/* shadeop */
double step(double, double);