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
David Cazier
CGoGN
Commits
7c78d174
Commit
7c78d174
authored
Apr 26, 2011
by
CGoGN GIT Supervisor
Browse files
Merge branch 'master' of /home/sauvage/CGoGN
parents
109259db
1f41d335
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/Algo/Geometry/curvature.hpp
View file @
7c78d174
...
...
@@ -97,10 +97,20 @@ void computeCurvatureVertex(
K1_v
=
invLocalFrame
*
K1_v
;
VEC3
K2_v
=
n
^
K1_v
;
k1
[
dart
]
=
k1_v
;
k2
[
dart
]
=
k2_v
;
K1
[
dart
]
=
K1_v
;
K2
[
dart
]
=
K2_v
;
if
(
k1_v
<
k2_v
)
{
k1
[
dart
]
=
-
k1_v
;
k2
[
dart
]
=
-
k2_v
;
K1
[
dart
]
=
K1_v
;
K2
[
dart
]
=
K2_v
;
}
else
{
k1
[
dart
]
=
-
k2_v
;
k2
[
dart
]
=
-
k1_v
;
K1
[
dart
]
=
K2_v
;
K2
[
dart
]
=
K1_v
;
}
}
template
<
typename
PFP
>
...
...
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