Closed DarthSharkie closed 2 months ago
public Vector3f setVertex1(Vector3f newVertex) { Vector3f prevVertex1 = this.vertex1; this.checkValidTriangle(vertex1, this.vertex2, this.vertex3); this.vertex1 = newVertex; return prevVertex1; }
Triangles are checking validity with the existing vertices, not the new one. They should check with the new vertex prior to setting it.
Triangles are checking validity with the existing vertices, not the new one. They should check with the new vertex prior to setting it.