MCPcopy Create free account
hub / github.com/axmolengine/axmol / areaToCol

Method areaToCol

3rdparty/recast/DebugDraw.cpp:30–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30unsigned int duDebugDraw::areaToCol(unsigned int area)
31{
32 if (area == 0)
33 {
34 // Treat zero area type as default.
35 return duRGBA(0, 192, 255, 255);
36 }
37 else
38 {
39 return duIntToCol(area, 255);
40 }
41}
42
43inline int bit(int a, int b)
44{

Callers 3

drawMeshTileFunction · 0.80

Calls 2

duRGBAFunction · 0.85
duIntToColFunction · 0.85

Tested by

no test coverage detected