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
CGoGN
CGoGN
Commits
7b6088f7
Commit
7b6088f7
authored
Jan 17, 2013
by
Pierre Kraemer
Browse files
useless typename again
parent
8e159d31
Changes
3
Hide whitespace changes
Inline
Side-by-side
SCHNApps/Plugins/differentialProperties/src/computeCurvatureDialog.cpp
View file @
7b6088f7
...
...
@@ -52,8 +52,8 @@ void ComputeCurvatureDialog::cb_selectedMapChanged()
std
::
vector
<
std
::
string
>
types
;
cont
.
getAttributesNames
(
names
);
cont
.
getAttributesTypes
(
types
);
std
::
string
vec3TypeName
=
nameOfType
(
typename
PFP2
::
VEC3
());
std
::
string
realTypeName
=
nameOfType
(
typename
PFP2
::
REAL
());
std
::
string
vec3TypeName
=
nameOfType
(
PFP2
::
VEC3
());
std
::
string
realTypeName
=
nameOfType
(
PFP2
::
REAL
());
unsigned
int
j
=
0
;
unsigned
int
k
=
0
;
for
(
unsigned
int
i
=
0
;
i
<
names
.
size
();
++
i
)
...
...
SCHNApps/Plugins/differentialProperties/src/computeNormalDialog.cpp
View file @
7b6088f7
...
...
@@ -43,7 +43,7 @@ void ComputeNormalDialog::cb_selectedMapChanged()
std
::
vector
<
std
::
string
>
types
;
cont
.
getAttributesNames
(
names
);
cont
.
getAttributesTypes
(
types
);
std
::
string
vec3TypeName
=
nameOfType
(
typename
PFP2
::
VEC3
());
std
::
string
vec3TypeName
=
nameOfType
(
PFP2
::
VEC3
());
unsigned
int
j
=
0
;
for
(
unsigned
int
i
=
0
;
i
<
names
.
size
();
++
i
)
{
...
...
SCHNApps/Plugins/importSurface/importSurface.cpp
View file @
7b6088f7
...
...
@@ -30,7 +30,7 @@ void ImportSurfacePlugin::cb_import()
Algo
::
Surface
::
Import
::
importMesh
<
PFP2
>
(
*
map
,
fileName
.
toUtf8
().
constData
(),
attrNames
);
// get vertex position attribute
VertexAttribute
<
PFP2
::
VEC3
>
position
=
map
->
getAttribute
<
typename
PFP2
::
VEC3
,
CGoGN
::
VERTEX
>
(
attrNames
[
0
]);
VertexAttribute
<
PFP2
::
VEC3
>
position
=
map
->
getAttribute
<
PFP2
::
VEC3
,
CGoGN
::
VERTEX
>
(
attrNames
[
0
]);
// create VBO for vertex position attribute
h
->
createVBO
(
position
);
...
...
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