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

Method OnRoomFaceMoveVertOnEdge

editor/editorView.cpp:1388–1397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1386}
1387
1388void CEditorView::OnRoomFaceMoveVertOnEdge() {
1389 void MoveVert(room * rp, int facenum, int vertnum, float new_position);
1390
1391 char buf[10] = "0.5";
1392
1393 if (InputString(buf, sizeof(buf), "New point position",
1394 "Please enter the new position of the point, from 0.0 to 1.0")) {
1395 MoveVert(Curroomp, Curface, Curvert, atof(buf));
1396 }
1397}
1398
1399void CEditorView::OnRoomFaceSplitFace() {
1400 void SplitFace(room * rp, int facenum, int v0, int v1);

Callers

nothing calls this directly

Calls 2

InputStringFunction · 0.85
MoveVertFunction · 0.85

Tested by

no test coverage detected