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

Method setDynamicScale

src/game/TextureMatrix.cpp:435–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433
434
435void TextureMatrix::setDynamicScale(float uFreq, float vFreq,
436 float _uScale, float _vScale) {
437 uScaleFreq = uFreq;
438 vScaleFreq = vFreq;
439 if (_uScale >= 1.0f) {
440 uScale = _uScale;
441 }
442 if (_vScale >= 1.0f) {
443 vScale = _vScale;
444 }
445 return;
446}
447
448
449void TextureMatrix::setDynamicCenter(float u, float v) {

Callers 1

readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected