MCPcopy Create free account
hub / github.com/chrxh/alien / operator/

Method operator/

source/EngineInterface/DataPointCollection.cpp:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13DataPoint DataPoint::operator/(double divisor) const
14{
15 DataPoint result;
16 for (int i = 0; i < MAX_COLORS; ++i) {
17 result.values[i] = values[i] / divisor;
18 }
19 result.summedValues = summedValues / divisor;
20 return result;
21}
22
23DataPointCollection DataPointCollection::operator+(DataPointCollection const& other) const
24{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected