projects
/
platform
/
core
/
api
/
maps-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c224a4a
)
Fix a build error
07/139007/1
author
chanywa
<cbible.kim@samsung.com>
Mon, 17 Jul 2017 00:21:30 +0000
(09:21 +0900)
committer
chanywa
<cbible.kim@samsung.com>
Mon, 17 Jul 2017 00:21:30 +0000
(09:21 +0900)
Change-Id: I6eda6009b506f60abeb976d28abfae33a9224934
src/view/poly_shape_hit_test.cpp
patch
|
blob
|
history
diff --git
a/src/view/poly_shape_hit_test.cpp
b/src/view/poly_shape_hit_test.cpp
index
943c670
..
794c823
100644
(file)
--- a/
src/view/poly_shape_hit_test.cpp
+++ b/
src/view/poly_shape_hit_test.cpp
@@
-95,7
+95,7
@@
bool view::poly_shape_hit_test::hit_test_segment(const float x1, const float y1,
float y_rotated = x_shifted * sina - y_shifted * cosa;
if ((x_rotated >= 0) && (x_rotated <= c)
- && (y_rotated >= (-1. * (accuracy + (float)w / 2))
+ && (y_rotated >= (-1. * (accuracy + (float)w / 2))
)
&& (y_rotated <= (accuracy + (float)w / 2)))
return true;
return false;