From be293853da068b28143f75bb19c59b3915fd35e6 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 9 Oct 2024 09:52:58 -0400 Subject: remove dead code --- balls.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'balls.h') diff --git a/balls.h b/balls.h index b908183..63d5278 100644 --- a/balls.h +++ b/balls.h @@ -33,9 +33,6 @@ typedef struct { Color color; } Ball; -typedef continue_node node_t; -typedef const continue_msg & msg_t; - class Collision { public: Ball *b1, *b2; @@ -53,22 +50,11 @@ public: return a.b1 == b.b1 && a.b2 == b.b2; } - friend ostream &operator<<(ostream& os, Collision const & c) { + friend ostream& operator<<(ostream& os, Collision const & c) { return os << "(" << c.b1 << ", " << c.b2 << ")"; } }; -class CollisionGraph { -private: - graph g; - node_t root; - vector>> layers; - -public: - CollisionGraph(void); - void run(); -}; - vector> partitionCollisions(vector balls); Point addPt(Point p, Point q); -- cgit v1.2.3