Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
696a8a89
Commit
696a8a89
authored
Mar 19, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed cast from float to double in RN_POLY::HitTest.
parent
c11b0bc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ratsnest_data.cpp
pcbnew/ratsnest_data.cpp
+1
-1
No files found.
pcbnew/ratsnest_data.cpp
View file @
696a8a89
...
@@ -357,7 +357,7 @@ bool RN_POLY::HitTest( const RN_NODE_PTR& aNode ) const
...
@@ -357,7 +357,7 @@ bool RN_POLY::HitTest( const RN_NODE_PTR& aNode ) const
}
}
if
(
(
xNew
<
xt
)
==
(
xt
<=
xOld
)
&&
/* edge "open" at left end */
if
(
(
xNew
<
xt
)
==
(
xt
<=
xOld
)
&&
/* edge "open" at left end */
(
float
)(
yt
-
y1
)
*
(
float
)(
x2
-
x1
)
<
(
float
)(
y2
-
y1
)
*
(
float
)(
xt
-
x1
)
)
(
double
)(
yt
-
y1
)
*
(
double
)(
x2
-
x1
)
<
(
double
)(
y2
-
y1
)
*
(
double
)(
xt
-
x1
)
)
{
{
inside
=
!
inside
;
inside
=
!
inside
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment