Closed xuzheng0927 closed 8 years ago
I tried to illustrate what the variables in your code correspond to. You can see the angle is in the wrong corner.
Also I've removed your code from your post to prevent others from copying it, just to be safe.
I see. I thought the vertex associated with a half edge was the "point-to" one but actually it is the "point-from" one. Now it is correct.
To calculate gauss curvature, I have the following code (very simple and straightforward I think):
(code removed)
But I got a completely different result:
What could be the problem?