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
9cfd1dc4
Commit
9cfd1dc4
authored
Jun 01, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress compil warnings
parent
8e3b896b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
idf2vrml.cpp
utils/idftools/idf2vrml.cpp
+9
-8
No files found.
utils/idftools/idf2vrml.cpp
View file @
9cfd1dc4
...
...
@@ -100,14 +100,15 @@ struct VRML_IDS
};
#define NCOLORS 7
VRML_COLOR
colors
[
NCOLORS
]
=
{
\
{
0
,
0.82
,
0.247
,
0
,
0
,
0
,
0
,
0.82
,
0.247
,
0.9
,
0
,
0.1
},
\
{
1
,
0
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
0.9
,
0
,
0.1
},
\
{
0.659
,
0
,
0.463
,
0
,
0
,
0
,
0.659
,
0
,
0.463
,
0.9
,
0
,
0.1
},
\
{
0.659
,
0.294
,
0
,
0
,
0
,
0
,
0.659
,
0.294
,
0
,
0.9
,
0
,
0.1
},
\
{
0
,
0.918
,
0.659
,
0
,
0
,
0
,
0
,
0.918
,
0.659
,
0.9
,
0
,
0.1
},
\
{
0.808
,
0.733
,
0.071
,
0
,
0
,
0
,
0.808
,
0.733
,
0.071
,
0.9
,
0
,
0.1
},
\
{
0.102
,
1
,
0.984
,
0
,
0
,
0
,
0.102
,
1
,
0.984
,
0.9
,
0
,
0.1
}
VRML_COLOR
colors
[
NCOLORS
]
=
{
{
{
0
,
0.82
,
0.247
},
{
0
,
0
,
0
},
{
0
,
0.82
,
0.247
},
0.9
,
0
,
0.1
},
{
{
1
,
0
,
0
},
{
1
,
0
,
0
},
{
1
,
0
,
0
},
0.9
,
0
,
0.1
},
{
{
0.659
,
0
,
0.463
},
{
0
,
0
,
0
},
{
0.659
,
0
,
0.463
},
0.9
,
0
,
0.1
},
{
{
0.659
,
0.294
,
0
},
{
0
,
0
,
0
},
{
0.659
,
0.294
,
0
},
0.9
,
0
,
0.1
},
{
{
0
,
0.918
,
0.659
},
{
0
,
0
,
0
},
{
0
,
0.918
,
0.659
},
0.9
,
0
,
0.1
},
{
{
0.808
,
0.733
,
0.071
},
{
0
,
0
,
0
},
{
0.808
,
0.733
,
0.071
},
0.9
,
0
,
0.1
},
{
{
0.102
,
1
,
0.984
},
{
0
,
0
,
0
},
{
0.102
,
1
,
0.984
},
0.9
,
0
,
0.1
}
};
bool
WriteHeader
(
IDF3_BOARD
&
board
,
std
::
ofstream
&
file
);
...
...
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