diff options
author | tom <tom@ground-control> | 2016-05-02 18:03:07 -0500 |
---|---|---|
committer | tom <tom@ground-control> | 2016-05-02 18:03:07 -0500 |
commit | b5b0644cf5ca8f5a35c023a1b87a3e28ff33fc51 (patch) | |
tree | 6f579be7f5f591340043f56c95618a1dfe9d18b3 /inc | |
parent | eac63735fb84ba3b59b5fc887d959e1492ef246d (diff) |
made list all iterators
Diffstat (limited to 'inc')
-rw-r--r-- | inc/list.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/list.hpp b/inc/list.hpp index 05e9fcc..14a6a9a 100644 --- a/inc/list.hpp +++ b/inc/list.hpp @@ -12,7 +12,7 @@ class List List(Window m); void Behavior(); void Place(); - double Distance(Location A, Location B); + double Distance(Location A, Location B){return sqrt(pow(A.x-B.x,2)+pow(A.y-B.y,2));}; private: //vectors containing objects of each type |