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

Function scaletmu

source/src/texture.cpp:771–777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769}
770
771void scaletmu(int n, int rgbscale, int alphascale)
772{
773 tmu f = tmus[n];
774 if(rgbscale) f.rgb.scale = rgbscale;
775 if(alphascale) f.alpha.scale = alphascale;
776 committmu(n, f);
777}
778
779void colortmu(int n, float r, float g, float b, float a)
780{

Callers

nothing calls this directly

Calls 1

committmuFunction · 0.85

Tested by

no test coverage detected