Mercurial > hg > wabletios
diff spring.h @ 9:0e03760cf2d9
save preset stuff, not quite there
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Tue, 14 May 2013 18:05:08 +0100 |
parents | d346ddc50f70 |
children |
line wrap: on
line diff
--- a/spring.h Tue May 14 10:34:32 2013 +0100 +++ b/spring.h Tue May 14 18:05:08 2013 +0100 @@ -43,7 +43,7 @@ public: bool isInScanPath; static bool forcesOn; - + int myIndexInMesh; Spring(); Spring(double aStartx, double aStarty, double aEndx, double aEndy, double aK); void updateEndPoints(); @@ -61,6 +61,10 @@ void addToScanPath(); void removeFromScanPath(); Lump * getLumpOnOtherEnd(Lump * alump); + Lump * getStartLump(); + Lump * getEndLump(); + int getStartLumpIndex(); + int getEndLumpIndex(); //void checkStuff(); // interface for scanner