| 1374 | } |
| 1375 | |
| 1376 | void CEditorView::OnRoomFaceAddVertToEdge() { |
| 1377 | void SplitEdge(room * rp, int facenum, int edgenum, float position); |
| 1378 | |
| 1379 | char buf[10] = "0.5"; |
| 1380 | |
| 1381 | if (InputString(buf, sizeof(buf), "New point position", |
| 1382 | "Please enter the position of the new point, from 0.0 to 1.0")) { |
| 1383 | SplitEdge(Curroomp, Curface, Curedge, atof(buf)); |
| 1384 | Curvert = Curedge + 1; |
| 1385 | } |
| 1386 | } |
| 1387 | |
| 1388 | void CEditorView::OnRoomFaceMoveVertOnEdge() { |
| 1389 | void MoveVert(room * rp, int facenum, int vertnum, float new_position); |
nothing calls this directly
no test coverage detected