MCPcopy Create free account
hub / github.com/assaultcube/AC / archxy

Function archxy

source/src/editing.cpp:1097–1103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1095COMMAND(archvertex, "iis");
1096
1097void archxy(int sidedelta, int *averts, block &sel)
1098{
1099 loopselxy(sel, s->vdelta =
1100 sel.xs>sel.ys
1101 ? (averts[x] + (y==0 || y==sel.ys-1 ? sidedelta : 0))
1102 : (averts[y] + (x==0 || x==sel.xs-1 ? sidedelta : 0)));
1103}
1104
1105void arch(int *sidedelta)
1106{

Callers 2

parsemessagesFunction · 0.85
loopvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected