MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / shiftCallback

Method shiftCallback

src/game/TextureMatrix.cpp:320–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318
319
320void TextureMatrix::shiftCallback(const std::string& /*name*/) {
321 const fvec2 values = BZDB.evalFVec2(shiftVar);
322 if (!isnan(values.x)) {
323 uShiftFreq = values.x;
324 vShiftFreq = values.y;
325 }
326}
327
328
329//============================================================================//

Callers 1

staticShiftCallbackMethod · 0.80

Calls 2

evalFVec2Method · 0.80
isnanFunction · 0.50

Tested by

no test coverage detected