diff options
author | rodri <rgl@antares-labs.eu> | 2024-10-19 11:42:51 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-10-19 11:42:51 +0000 |
commit | 12efa1d9e0ff3a32b018ee83d6ebee08c77972a9 (patch) | |
tree | 25cef8ab1693ee3224c121ff7cac86d55907566f /util.c | |
parent | a09cfff78a96a10169a30324b75554827945fed4 (diff) | |
download | libgraphics-master.tar.gz libgraphics-master.tar.bz2 libgraphics-master.zip |
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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) { |