Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hurstel
CGoGN
Commits
66d4a8ec
Commit
66d4a8ec
authored
Mar 12, 2012
by
Kenneth Vanhoey
Browse files
binary import/export for SLF
parent
b50f7b2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/Algo/Export/export.hpp
View file @
66d4a8ec
...
...
@@ -582,9 +582,9 @@ bool exportPlySLFgenericBin(typename PFP::MAP& map, const typename PFP::TVEC3& p
while
(
it
!=
faces
.
end
())
{
unsigned
int
nbe
=
*
it
++
;
out
.
write
((
char
*
)
nbe
,
sizeof
(
unsigned
int
))
;
out
.
write
((
char
*
)
&
nbe
,
sizeof
(
unsigned
int
))
;
for
(
unsigned
int
j
=
0
;
j
<
nbe
;
++
j
)
out
.
write
((
char
*
)(
*
it
++
),
sizeof
(
unsigned
int
))
;
out
.
write
((
char
*
)(
it
++
),
sizeof
(
unsigned
int
))
;
}
out
.
close
()
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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