MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / BNode_QuickDist

Function BNode_QuickDist

Descent3/bnode.cpp:175–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173};
174
175static float BNode_QuickDist(vector *pos1, vector *pos2) {
176 return fabs(pos1->x - pos2->x) + fabs(pos1->y - pos2->y) + fabs(pos1->z - pos2->z);
177}
178
179int BNode_Path[MAX_BNODES_PER_ROOM];
180int BNode_PathNumNodes;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected