MCPcopy Create free account
hub / github.com/DFHack/dfhack / dot

Method dot

plugins/rendermax/renderer_opengl.hpp:243–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241 return r<=other.r && g<=other.g && b<=other.b;
242 }
243 float dot(const rgbf& other) const
244 {
245 return r*other.r+g*other.g+b*other.b;
246 }
247 rgbf pow(const float exp) const
248 {
249 return rgbf(std::pow(r, exp), std::pow(g, exp), std::pow(b, exp));

Callers 5

plotLineFunction · 0.80
plotLineDiffuseFunction · 0.80
plotLineAAFunction · 0.80
doSunMethod · 0.80
doLightMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected