MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / max

Method max

source/base/StarCellularLightArray.hpp:158–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158inline float ScalarLightTraits::max(float v1, float v2) {
159 return std::max(v1, v2);
160}
161
162inline Vec3F ColoredLightTraits::spread(Vec3F const& source, Vec3F const& dest, float drop) {
163 float maxChannel = std::max(source[0], std::max(source[1], source[2]));

Callers 7

splitLineMethod · 0.45
splitPolyMethod · 0.45
maxIntensityMethod · 0.45
addSpreadLightMethod · 0.45
addPointLightMethod · 0.45
calculateMethod · 0.45
setupImageMethod · 0.45

Calls 1

vmaxFunction · 0.85

Tested by

no test coverage detected