From 12efa1d9e0ff3a32b018ee83d6ebee08c77972a9 Mon Sep 17 00:00:00 2001 From: rodri Date: Sat, 19 Oct 2024 11:42:51 +0000 Subject: remove quaternion sandwich utils (now part of libgeometry.) --- util.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'util.c') diff --git a/util.c b/util.c index 8aeaaf2..ff76ab9 100644 --- a/util.c +++ b/util.c @@ -91,21 +91,6 @@ eqpt3(Point3 a, Point3 b) return vec3len(subpt3(a, b)) < ε2; } -Quaternion -qsandwich(Quaternion q, Quaternion p) -{ - return mulq(mulq(q, p), invq(q)); -} - -Point3 -qsandwichpt3(Quaternion q, Point3 p) -{ - Quaternion r; - - r = qsandwich(q, Quatvec(0, p)); - return Pt3(r.i, r.j, r.k, p.w); -} - void memsetf(void *dp, float v, usize len) { -- cgit v1.2.3