duDebugDraw::polyToCol changed to areaToCol (#255)

This commit is contained in:
Domenico Albani
2017-02-01 17:44:39 +01:00
committed by Jakob Botsch Nielsen
parent ad6e5de2e9
commit 16a7a30ada
4 changed files with 23 additions and 22 deletions

View File

@@ -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)