lixioayao 6 năm trước cách đây
mục cha
commit
b5149ee14e
3 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 0 1
      1
  2. 2 1
      main.cpp
  3. 1 1
      point.h

+ 0 - 1
1

@@ -1 +0,0 @@
--fno-stack-protector

+ 2 - 1
main.cpp

@@ -18,6 +18,7 @@
 
 #include <config_file.h>
 #include "three_rates.h"
+
 config_file config;
 static void handlereader(uint32_t readerid,bool duration,uint32_t t)
 {
@@ -178,7 +179,7 @@ int main(int argc ,char * argv[])
     is.init();
 
 	card_path::init();
-	test_find_path(point(4717,209.2),point(4727,206.4));
+	test_find_path(point(4600,-75),point(4727,-90));
 
     module_mgr::start();
     atexit(&cleanup);

+ 1 - 1
point.h

@@ -58,7 +58,7 @@ struct point
 	{
 		return fabs(l-r)<=deta;
 	}
-
+	
 	bool empty()const
 	{
 		return x==0 && y==0 && z==0;