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

Function parallel

crawl-ref/source/geom2d.cc:21–24  ·  view source on GitHub ↗

Is v parallel to the kernel of f?

Source from the content-addressed store, hash-verified

19
20// Is v parallel to the kernel of f?
21bool parallel(const vector &v, const form &f)
22{
23 return double_is_zero(f(v));
24}
25
26vector ray::shoot(double t) const
27{

Callers 4

intersectFunction · 0.85
nextintersectFunction · 0.85
to_gridMethod · 0.85
_bounce_diag_corridorFunction · 0.85

Calls 2

double_is_zeroFunction · 0.70
fFunction · 0.50

Tested by

no test coverage detected