From 0701276b4fec856d5427e4776eec3cc7c56ec065 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期二, 25 八月 2020 17:51:10 +0800
Subject: [PATCH] 坐标
---
lib/src/main/cpp/test_items2/through_something.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/src/main/cpp/test_items2/through_something.cpp b/lib/src/main/cpp/test_items2/through_something.cpp
index f75d5db..2c18908 100644
--- a/lib/src/main/cpp/test_items2/through_something.cpp
+++ b/lib/src/main/cpp/test_items2/through_something.cpp
@@ -226,18 +226,18 @@
}
PointF point2 = CalcProjectionWithRoadEdge(RoadMap.roads[roadIndex].leftEdge,
- RoadMap.specialAreas[x].area[1]);
- MakeLine(&line, &RoadMap.specialAreas[x].area[1], &point2);
+ RoadMap.specialAreas[x].area[0]);
+ MakeLine(&line, &RoadMap.specialAreas[x].area[0], &point2);
if (CrashTheLine(line, car, CarModelList)) {
if (RoadMap.specialAreas[x].type == ZEBRA_CROSSING &&
!(it->second & REDUCE_SPEED)) {
- DEBUG("涓嶆寜瑙勫畾鍑忛��");
+ DEBUG("浜鸿閬� 涓嶆寜瑙勫畾鍑忛��");
AddExamFault(48, rtkTime);
}
if (RoadMap.specialAreas[x].type == BUS_STATION_AREA &&
!(it->second & REDUCE_SPEED)) {
- DEBUG("涓嶆寜瑙勫畾鍑忛��");
+ DEBUG("鍏氦绔� 涓嶆寜瑙勫畾鍑忛��");
AddExamFault(50, rtkTime);
}
RemoveTargetReduceRec(TargetReduceRec2, it->first);
--
Gitblit v1.8.0