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

Method loopv

source/src/vertmodel.h:764–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762 void scaleverts(const float scale, const vec &translate)
763 {
764 loopv(meshes)
765 {
766 mesh &m = *meshes[i];
767 loopj(numframes*m.numverts)
768 {
769 vec &v = m.verts[j];
770 if(!index) v.add(translate);
771 v.mul(scale);
772 }
773 }
774 loopi(numframes*numtags)
775 {
776 vec &v = tags[i].pos;

Callers

nothing calls this directly

Calls 3

mulMethod · 0.80
loopjFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected