Cleaned up the top of imgui.h, documenting all types / forward declarations

This commit is contained in:
ocornut
2016-01-23 12:45:56 +00:00
parent d5fd87e806
commit b6fe5eb4b4
2 changed files with 51 additions and 55 deletions

View File

@ -344,6 +344,7 @@ void ImDrawList::PrimReserve(int idx_count, int vtx_count)
_IdxWritePtr = IdxBuffer.Data + idx_buffer_size;
}
// Fully unrolled with inline call to keep our debug builds decently fast.
void ImDrawList::PrimRect(const ImVec2& a, const ImVec2& c, ImU32 col)
{
ImVec2 b(c.x, a.y), d(a.x, c.y), uv(GImGui->FontTexUvWhitePixel);