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
2afe1eab
Commit
2afe1eab
authored
Aug 16, 2013
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix MinGW build issue for missing isinf() in PolyLine.cpp.
parent
7e1aef22
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
PolyLine.cpp
polygon/PolyLine.cpp
+2
-1
No files found.
polygon/PolyLine.cpp
View file @
2afe1eab
...
...
@@ -17,6 +17,7 @@
#include <math_for_graphics.h>
#include <polygon_test_point_inside.h>
CPolyLine
::
CPolyLine
()
{
m_hatchStyle
=
NO_HATCH
;
...
...
@@ -449,7 +450,7 @@ CPolyLine* CPolyLine::Fillet( unsigned int aRadius, unsigned int aSegments )
double
denom
=
sqrt
(
2.0
/
(
1
+
cosine
)
-
1
);
// Do nothing in case of parallel edges
if
(
isinf
(
denom
)
)
if
(
std
::
isinf
(
denom
)
)
continue
;
// Limit rounding distance to one half of an edge
...
...
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