MCPcopy Create free account
hub / github.com/armory3d/armory / areaToCol

Method areaToCol

lib/haxerecast/recastnavigation/DebugUtils/Source/DebugDraw.cpp:31–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 7

drawMeshTileFunction · 0.80
duDebugDrawPolyMeshFunction · 0.80

Calls 2

duRGBAFunction · 0.85
duIntToColFunction · 0.85

Tested by

no test coverage detected