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
OpenMesh
OpenMesh
Commits
37230880
Commit
37230880
authored
Nov 23, 2015
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed template >> missing space
parent
a1ccdd69
Pipeline
#78
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/Python/Vector.hh
src/Python/Vector.hh
+4
-4
No files found.
src/Python/Vector.hh
View file @
37230880
...
...
@@ -67,10 +67,10 @@ struct Factory {
}
template
<
class
Scalar
,
int
N
>
void
defInitMod
(
class_
<
OpenMesh
::
VectorT
<
Scalar
,
N
>>
&
classVector
);
void
defInitMod
(
class_
<
OpenMesh
::
VectorT
<
Scalar
,
N
>
>
&
classVector
);
template
<
class
Scalar
>
void
defInitMod
(
class_
<
OpenMesh
::
VectorT
<
Scalar
,
2
>>
&
classVector
)
{
void
defInitMod
(
class_
<
OpenMesh
::
VectorT
<
Scalar
,
2
>
>
&
classVector
)
{
classVector
.
def
(
"__init__"
,
make_constructor
(
&
Factory
<
Scalar
>::
vec2_default
))
.
def
(
"__init__"
,
make_constructor
(
&
Factory
<
Scalar
>::
vec2_user_defined
))
...
...
@@ -80,7 +80,7 @@ void defInitMod(class_<OpenMesh::VectorT<Scalar, 2>> &classVector) {
def
(
"dot"
,
&
Vector
::
operator
|
);
}
template
<
class
Scalar
>
void
defInitMod
(
class_
<
OpenMesh
::
VectorT
<
Scalar
,
3
>>
&
classVector
)
{
void
defInitMod
(
class_
<
OpenMesh
::
VectorT
<
Scalar
,
3
>
>
&
classVector
)
{
classVector
.
def
(
"__init__"
,
make_constructor
(
&
Factory
<
Scalar
>::
vec3_default
))
.
def
(
"__init__"
,
make_constructor
(
&
Factory
<
Scalar
>::
vec3_user_defined
))
...
...
@@ -93,7 +93,7 @@ void defInitMod(class_<OpenMesh::VectorT<Scalar, 3>> &classVector) {
def
(
"dot"
,
&
Vector
::
operator
|
);
}
template
<
class
Scalar
>
void
defInitMod
(
class_
<
OpenMesh
::
VectorT
<
Scalar
,
4
>>
&
classVector
)
{
void
defInitMod
(
class_
<
OpenMesh
::
VectorT
<
Scalar
,
4
>
>
&
classVector
)
{
classVector
.
def
(
"__init__"
,
make_constructor
(
&
Factory
<
Scalar
>::
vec4_default
))
.
def
(
"__init__"
,
make_constructor
(
&
Factory
<
Scalar
>::
vec4_user_defined
))
...
...
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