title: Box2D C++ - Why divide by 2?
body: <p>I was looking at a basic Box2D program, more specifically <a href="http://veeableful.wordpress.com/2012/02/16/tutorial-getting-started-with-box2d/" rel="nofollow">this one</a>.</p>
  
  <p>Everything is fairly simple and makes sense, except for this line:</p>
  
  <pre><code>Shape.SetAsBox((32.f/2)/SCALE, (32.f/2)/SCALE);   // SCALE = 30
  </code></pre>
  
  <p>Now I know we divide by <code>SCALE</code> to scale 1m->30px but why is 32.f divided by 2? I don't understand why we divide by 2, if my box texture is 32x32 pixels.</p>