~ubuntu-branches/ubuntu/wily/box2d/wily

« back to all changes in this revision

Viewing changes to Box2D/Testbed/Tests/ContinuousTest.h

  • Committer: Package Import Robot
  • Author(s): Markus Koschany
  • Date: 2014-05-30 18:42:02 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140530184202-hosw11agojg02ac3
Tags: 2.3.1+ds-1
* Imported Upstream version 2.3.1+ds.
* Fix debian/watch to determine new releases by parsing
  the SVN tags of upstream's version control system.
* Update get-orig-source target for new release.
* dh_strip override: Replace $VER variable with 2.3.0 string.
* debian/copyright: Add new Public Domain and Apache 2.0 license.
* libbox2d-dev.install:
  - Install *.cmake files in /usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Box2D.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
 
116
116
                if (b2_gjkCalls > 0)
117
117
                {
118
 
                        m_debugDraw.DrawString(5, m_textLine, "gjk calls = %d, ave gjk iters = %3.1f, max gjk iters = %d",
 
118
                        g_debugDraw.DrawString(5, m_textLine, "gjk calls = %d, ave gjk iters = %3.1f, max gjk iters = %d",
119
119
                                b2_gjkCalls, b2_gjkIters / float32(b2_gjkCalls), b2_gjkMaxIters);
120
120
                        m_textLine += DRAW_STRING_NEW_LINE;
121
121
                }
126
126
 
127
127
                if (b2_toiCalls > 0)
128
128
                {
129
 
                        m_debugDraw.DrawString(5, m_textLine, "toi calls = %d, ave [max] toi iters = %3.1f [%d]",
 
129
                        g_debugDraw.DrawString(5, m_textLine, "toi calls = %d, ave [max] toi iters = %3.1f [%d]",
130
130
                                                                b2_toiCalls, b2_toiIters / float32(b2_toiCalls), b2_toiMaxRootIters);
131
131
                        m_textLine += DRAW_STRING_NEW_LINE;
132
132
                        
133
 
                        m_debugDraw.DrawString(5, m_textLine, "ave [max] toi root iters = %3.1f [%d]",
 
133
                        g_debugDraw.DrawString(5, m_textLine, "ave [max] toi root iters = %3.1f [%d]",
134
134
                                b2_toiRootIters / float32(b2_toiCalls), b2_toiMaxRootIters);
135
135
                        m_textLine += DRAW_STRING_NEW_LINE;
136
136
 
137
 
                        m_debugDraw.DrawString(5, m_textLine, "ave [max] toi time = %.1f [%.1f] (microseconds)",
 
137
                        g_debugDraw.DrawString(5, m_textLine, "ave [max] toi time = %.1f [%.1f] (microseconds)",
138
138
                                1000.0f * b2_toiTime / float32(b2_toiCalls), 1000.0f * b2_toiMaxTime);
139
139
                        m_textLine += DRAW_STRING_NEW_LINE;
140
140
                }