aboutsummaryrefslogtreecommitdiff
path: root/2023/24
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-12-25 17:56:34 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-12-25 17:56:34 +0100
commit94d0033ed89bb5bfb6500051296892fb7cea6c29 (patch)
tree245eac2218310c958c2df2fad5109ea4f7b2a9d9 /2023/24
parent6a480c4eb9c96c82a8fd3663f0fbee4d32e56f19 (diff)
downloadaoc-94d0033ed89bb5bfb6500051296892fb7cea6c29.tar.gz
aoc-94d0033ed89bb5bfb6500051296892fb7cea6c29.zip
Small cleanup
Diffstat (limited to '2023/24')
-rw-r--r--2023/24/24b.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/2023/24/24b.c b/2023/24/24b.c
index 2dab176..48b0a79 100644
--- a/2023/24/24b.c
+++ b/2023/24/24b.c
@@ -92,10 +92,6 @@ bool solvesystem(double A[D][D], double C[D], int d, double *X) {
92 return true; 92 return true;
93} 93}
94 94
95bool equal(point_t p, point_t q) {
96 return EQ(p.x, q.x) && EQ(p.y, q.y) && EQ(p.z, q.z);
97}
98
99point_t pos(line_t l, double t) { 95point_t pos(line_t l, double t) {
100 return (point_t) { 96 return (point_t) {
101 .x = l.p.x + t*l.v.x, 97 .x = l.p.x + t*l.v.x,

Generated with cgit - Back to sebastiano.tronto.net