MCPcopy Create free account
hub / github.com/alecthomas/entityx / collided

Method collided

examples/example.cc:233–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 }
232
233 bool collided(const Candidate &left, const Candidate &right) {
234 return length(left.position - right.position) < left.radius + right.radius;
235 }
236};
237
238

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected