diff options
-rw-r--r-- | fns.h | 2 | ||||
-rw-r--r-- | util.c | 20 |
2 files changed, 0 insertions, 22 deletions
@@ -25,8 +25,6 @@ int max(int, int); double fmin(double, double); double fmax(double, double); void swap(int*, int*); -void swappt2(Point2*, Point2*); -void swappt3(Point3*, Point3*); void memsetd(double*, double, usize); Memimage *readtga(char*); Memimage *rgb(ulong); @@ -45,26 +45,6 @@ swap(int *a, int *b) } void -swappt2(Point2 *a, Point2 *b) -{ - Point2 t; - - t = *a; - *a = *b; - *b = t; -} - -void -swappt3(Point3 *a, Point3 *b) -{ - Point3 t; - - t = *a; - *a = *b; - *b = t; -} - -void memsetd(double *p, double v, usize len) { double *dp; |