diff options
Diffstat (limited to 'clip.c')
-rw-r--r-- | clip.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -4,7 +4,6 @@ #include <draw.h> #include <memdraw.h> #include <geometry.h> -#include "libobj/obj.h" #include "graphics.h" #include "internal.h" @@ -52,12 +51,6 @@ fprintpoly(int fd, Polygon *p) fprint(fd, "%d/%lud p %V\n", i, p->n, p->v[i].p); } -static int -eqpt3(Point3 a, Point3 b) -{ - return vec3len(subpt3(a, b)) < 1e-6; -} - /* * references: * - “Clipping Using Homogeneous Coordinates”, James F. Blinn, Martin E. Newell, SIGGRAPH '78, pp. 245-251 |