Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CGoGN
CGoGN
Commits
c2d3d7c9
Commit
c2d3d7c9
authored
Mar 26, 2012
by
Kenneth Vanhoey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction import (généricité type REAL)
parent
e01c7393
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
include/Algo/Import/import2tablesSurface.hpp
include/Algo/Import/import2tablesSurface.hpp
+0
-3
No files found.
include/Algo/Import/import2tablesSurface.hpp
View file @
c2d3d7c9
...
...
@@ -381,12 +381,10 @@ bool MeshTablesSurface<PFP>::importOff(const std::string& filename, std::vector<
template
<
typename
PFP
>
bool
MeshTablesSurface
<
PFP
>::
importMeshBin
(
const
std
::
string
&
filename
,
std
::
vector
<
std
::
string
>&
attrNames
)
{
std
::
cout
<<
filename
<<
std
::
endl
;
AttributeHandler
<
typename
PFP
::
VEC3
>
positions
=
m_map
.
template
getAttribute
<
typename
PFP
::
VEC3
>(
VERTEX
,
"position"
)
;
if
(
!
positions
.
isValid
())
{
std
::
cout
<<
"Not valid"
<<
std
::
endl
;
positions
=
m_map
.
template
addAttribute
<
typename
PFP
::
VEC3
>(
VERTEX
,
"position"
)
;
}
...
...
@@ -427,7 +425,6 @@ bool MeshTablesSurface<PFP>::importMeshBin(const std::string& filename, std::vec
verticesID
.
push_back
(
id
)
;
}
std
::
cout
<<
positions
[
0
]
<<
std
::
endl
;
// Read foreach face
m_nbEdges
.
reserve
(
m_nbFaces
)
;
...
...
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