MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / collinear

Function collinear

Source/ThirdParty/recastnavigation/RecastMesh.cpp:192–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192inline bool collinear(const int* a, const int* b, const int* c)
193{
194 return area2(a, b, c) == 0;
195}
196
197// Returns true iff ab properly intersects cd: they share
198// a point interior to both segments. The properness of the

Callers 2

intersectPropFunction · 0.70
betweenFunction · 0.70

Calls 1

area2Function · 0.70

Tested by

no test coverage detected