This commit is contained in:
James E McClure 2018-09-13 11:18:54 -04:00
parent d7341d03c7
commit fe082a8ee3

View File

@ -369,8 +369,8 @@ double DECL::EdgeAngle(int edge)
if (dotprod > 1.f) dotprod=1.f;
angle = acos(dotprod);
// triangle corners
int e2 = object.halfedge.next(edge);
int e3 = object.halfedge.next(edge);
int e2 = halfedge.next(edge);
int e3 = halfedge.next(edge);
P=vertex.coords(halfedge.v1(edge));
Q=vertex.coords(halfedge.v1(e2));
R=vertex.coords(halfedge.v1(e3));