MCPcopy Create free account
hub / github.com/crawl/crawl / dot

Function dot

crawl-ref/source/perlin.cc:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 }
119
120 static double dot(Grad g, double x, double y)
121 {
122 return g.x*x + g.y*y;
123 }
124 static double dot(Grad g, double x, double y, double z)
125 {
126 return g.x*x + g.y*y + g.z*z;

Callers 1

noiseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected