MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / AddEdgeInsert

Function AddEdgeInsert

editor/HRoom.cpp:806–811  ·  view source on GitHub ↗

Add an insert to the edge list

Source from the content-addressed store, hash-verified

804
805// Add an insert to the edge list
806void AddEdgeInsert(int v0, int v1, int new_v) {
807 Edge_inserts[Num_edge_inserts].v0 = v0;
808 Edge_inserts[Num_edge_inserts].v1 = v1;
809 Edge_inserts[Num_edge_inserts].new_v = new_v;
810 Num_edge_inserts++;
811}
812
813// Clip a polygon against one edge of another polygon
814// Fills inbuf and maybe outbuf with new polygons, and writes any new verts to the vertices array

Callers 1

ClipAgainstEdgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected