favreau / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Parameterize DemoApplication zoom step size #543

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When working with a demo with large or small object, the hardcoded zoom step 
size of 0.4 is a nuisance.

Attached is a trivial patch which adds m_zoomStepSize (default to previous 0.4) 
instead of the hardcoded value.

Thanks!

Original issue reported on code.google.com by ejtt...@gmail.com on 14 Sep 2011 at 3:46

Attachments:

GoogleCodeExporter commented 9 years ago
(The point being btw, that subclasses can reassign this value when their 
environment is large/small)

Original comment by ejtt...@gmail.com on 14 Sep 2011 at 3:46

GoogleCodeExporter commented 9 years ago
Fixed in latest trunk:
http://code.google.com/p/bullet/source/detail?r=2432

Thanks for the patch

(note that the idea is to stabilize and apply mainly bug fixes to Bullet 2.x 
and focus on Bullet 3.x development), so major changes/improvements to 
DemoApplication for 2.x are not planned.

Original comment by erwin.coumans on 15 Sep 2011 at 6:55