]> git.cworth.org Git - akamaru/blobdiff - akamaru.h
Add init function for springs and clean up grid init.
[akamaru] / akamaru.h
index 81eeb8545ab286219b727fde9e11265ab10db1d3..1d4796c94fe39a6efbab6f03bdfd76a9c74a12b3 100644 (file)
--- a/akamaru.h
+++ b/akamaru.h
@@ -88,6 +88,7 @@ void object_init (Object *object, double x, double y, double mass);
 void offset_spring_init (OffsetSpring *spring,
                         Object *a, Object *b, double dx, double dy);
 void spring_init (Spring *spring, Object *a, Object *b, double length);
+void string_init (String *string, Object *a, Object *b, double length);
 
 void polygon_init (Polygon *p, int num_points, ...);
 void polygon_init_diamond (Polygon *polygon, double x, double y);