MCPcopy Create free account
hub / github.com/Theverat/NormalmapGenerator / setValue

Method setValue

src_generators/intensitymap.cpp:104–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void IntensityMap::setValue(int x, int y, double value) {
105 this->map.at(y).at(x) = value;
106}
107
108void IntensityMap::setValue(int pos, double value) {
109 const int x = pos % this->getWidth();

Callers 7

loadMethod · 0.80
processQueueMethod · 0.80
writeSettingsMethod · 0.80
boxBlurMethod · 0.80
boxBlurHMethod · 0.80
boxBlurTMethod · 0.80
calculateMethod · 0.80

Calls 2

getWidthMethod · 0.95
atMethod · 0.80

Tested by

no test coverage detected