Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BZFlag-Dev/bzflag
/ setStaticScale
Method
setStaticScale
src/game/TextureMatrix.cpp:404–412 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
402
403
404
void TextureMatrix::setStaticScale(float u, float v) {
405
if (u != 0.0f) {
406
uFixedScale = u;
407
}
408
if (v != 0.0f) {
409
vFixedScale = v;
410
}
411
return;
412
}
413
414
415
void TextureMatrix::setStaticCenter(float u, float v) {
Callers
1
read
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected