MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / mixed

Function mixed

code/geometry/convex_hull3d.cpp:2–2  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "primitives3d.cpp"
2double mixed(P(a), P(b), P(c)) { return a % (b * c); }
3bool cmpy(const point3d& a, const point3d& b) {
4 if (abs(a.y-b.y) > EPS) return a.y < b.y;
5 if (abs(a.x-b.x) > EPS) return a.x < b.x;

Callers 1

gift_wrapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected