Closed DarthSharkie closed 2 months ago
public Vector3f setVertex1(Vector3f newVertex) { Vector3f prevVertex1 = this.vertex1; this.checkValidTetrahedron(vertex1, this.vertex2, this.vertex3, this.vertex4); this.vertex1 = newVertex; return prevVertex1; }
This checks for a valid tetrahedron made from the existing vertices, not including the updated vertex1. The check should use the new vertex.
vertex1
This checks for a valid tetrahedron made from the existing vertices, not including the updated
vertex1
. The check should use the new vertex.