Adds a new point to all instances of a given edge First adds the point to the room (or finds it there), then calls AddVertToAllEdges()
| 899 | // Adds a new point to all instances of a given edge |
| 900 | // First adds the point to the room (or finds it there), then calls AddVertToAllEdges() |
| 901 | void AddPointToAllEdges(room *rp, int v0, int v1, vector *new_v) { |
| 902 | int newvertnum = RoomAddVertices(rp, 1); |
| 903 | |
| 904 | rp->verts[newvertnum] = *new_v; |
| 905 | |
| 906 | AddVertToAllEdges(rp, v0, v1, newvertnum); |
| 907 | } |
| 908 | |
| 909 | // Clips a face against another. Produces one polygon that is the intersection of the two input |
| 910 | // faces, and zero or more extra polygons, which are parts of the input face outside the clipping face. |
no test coverage detected