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; if (dotprod > 1.f) dotprod=1.f;
angle = acos(dotprod); angle = acos(dotprod);
// triangle corners // triangle corners
int e2 = object.halfedge.next(edge); int e2 = halfedge.next(edge);
int e3 = object.halfedge.next(edge); int e3 = halfedge.next(edge);
P=vertex.coords(halfedge.v1(edge)); P=vertex.coords(halfedge.v1(edge));
Q=vertex.coords(halfedge.v1(e2)); Q=vertex.coords(halfedge.v1(e2));
R=vertex.coords(halfedge.v1(e3)); R=vertex.coords(halfedge.v1(e3));