MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / next

Function next

Engine/lib/recast/Recast/Source/RecastMesh.cpp:165–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163// Last time I checked the if version got compiled using cmov, which was a lot faster than module (with idiv).
164inline int prev(int i, int n) { return i-1 >= 0 ? i-1 : n-1; }
165inline int next(int i, int n) { return i+1 < n ? i+1 : 0; }
166
167inline int area2(const int* a, const int* b, const int* c)
168{

Callers 8

diagonalieFunction · 0.70
inConeFunction · 0.70
diagonalieLooseFunction · 0.70
inConeLooseFunction · 0.70
triangulateFunction · 0.70
beginShowTipFunction · 0.50
showTipFunction · 0.50
valueMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected