bindEdge(e, m);
}
public void bindEdge(E e, Matrix m) {
+ /*
for(E e_ : (Iterable<E>)e.getBoundPeers()) {
if (e.v1.getPoint().distance((e.getBindingMatrix(e_).times(e_.v1.getPoint()))) > 0.01f)
throw new RuntimeException("blah! " + e.v1.getPoint() + " " + e.getBindingMatrix(e_).times(e_.v1.getPoint()));
if (v2.getPoint().distance(m.times(e.getBindingMatrix(e_).times(e_.v2.getPoint()))) > 0.01f)
throw new RuntimeException("blah! " + v2.getPoint() + " " + m.times(e_.v2.getPoint()));
}
+ */
this.bindTo(m, e, EPSILON);
this.pair.bindTo(m, e.pair, EPSILON);
}