Matrix binding = Matrix.ONE;
Vertex bound_to = this;
- public float oldscore = 0;
-
public Point getPoint() { return p; }
public float score() { return oldscore; }
applyQuadricToNeighbor();
}
- public void unApplyQuadricToNeighbor() {
- if (nearest_in_other_mesh == null) return;
- if (fundamentalQuadric == null) return;
- nearest_in_other_mesh.unComputeError();
- nearest_in_other_mesh.quadric = nearest_in_other_mesh.quadric.minus(fundamentalQuadric);
- nearest_in_other_mesh.quadric_count--;
- if (nearest_in_other_mesh.quadric_count==0)
- nearest_in_other_mesh.quadric = Matrix.ZERO;
- nearest_in_other_mesh.computeError();
- nearest_in_other_mesh = null;
- }
-
public void applyQuadricToNeighbor() {
if (score_against == null) return;