mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-04 16:05:45 +00:00
duDebugDraw::polyToCol changed to areaToCol (#255)
This commit is contained in:
committed by
Jakob Botsch Nielsen
parent
ad6e5de2e9
commit
16a7a30ada
@@ -67,10 +67,8 @@ struct duDebugDraw
|
||||
/// End drawing primitives.
|
||||
virtual void end() = 0;
|
||||
|
||||
/// Compute a color for given polygon.
|
||||
/// @param poly [in] the polygon to compute color for.
|
||||
/// @return The color value.
|
||||
virtual unsigned int polyToCol(const struct dtPoly* poly);
|
||||
/// Compute a color for given area.
|
||||
virtual unsigned int areaToCol(unsigned int area);
|
||||
};
|
||||
|
||||
inline unsigned int duRGBA(int r, int g, int b, int a)
|
||||
|
||||
Reference in New Issue
Block a user