From 3155c6737832c54310c70ecaaf8667d0362de5e8 Mon Sep 17 00:00:00 2001 From: rodri Date: Thu, 26 Sep 2024 15:22:02 +0000 Subject: implement a parser for a model(6). get rid of the libobj dependency. --- clip.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'clip.c') diff --git a/clip.c b/clip.c index 7548b36..14fdc7f 100644 --- a/clip.c +++ b/clip.c @@ -4,7 +4,6 @@ #include #include #include -#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 -- cgit v1.2.3