127
127
int32 leafCount = cm.m_broadPhase.GetProxyCount();
128
128
int32 minimumNodeCount = 2 * leafCount - 1;
129
129
float32 minimumHeight = ceilf(logf(float32(minimumNodeCount)) / logf(2.0f));
130
m_debugDraw.DrawString(5, m_textLine, "dynamic tree height = %d, min = %d", height, int32(minimumHeight));
130
g_debugDraw.DrawString(5, m_textLine, "dynamic tree height = %d, min = %d", height, int32(minimumHeight));
131
131
m_textLine += DRAW_STRING_NEW_LINE;
135
m_debugDraw.DrawString(5, m_textLine, "create time = %6.2f ms, fixture count = %d",
135
g_debugDraw.DrawString(5, m_textLine, "create time = %6.2f ms, fixture count = %d",
136
136
m_createTime, m_fixtureCount);
137
137
m_textLine += DRAW_STRING_NEW_LINE;