summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-12-27 12:58:20 +0000
committerrodri <rgl@antares-labs.eu>2023-12-27 12:58:20 +0000
commit9afe489f2612d54d4ecf21cf426f908d7140992a (patch)
treee5d64434d9b8e586fdec1033608bda29c374a0d4
parentb34446e7025a15bd5b74fd5f88bb952028cc8a4a (diff)
downloadtinyrend-9afe489f2612d54d4ecf21cf426f908d7140992a.tar.gz
tinyrend-9afe489f2612d54d4ecf21cf426f908d7140992a.tar.bz2
tinyrend-9afe489f2612d54d4ecf21cf426f908d7140992a.zip
got rid of unused procedures.
-rw-r--r--fns.h2
-rw-r--r--util.c20
2 files changed, 0 insertions, 22 deletions
diff --git a/fns.h b/fns.h
index 6547c6c..477131a 100644
--- a/fns.h
+++ b/fns.h
@@ -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);
diff --git a/util.c b/util.c
index 89d47ad..b523cf8 100644
--- a/util.c
+++ b/util.c
@@ -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;