lianlab / bullet

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

btRigidBody::getInvInertiaDiagLocal() should be const #183

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
Since the function returns a const reference to the private member variable
it should be const.

What version of the product are you using? On what operating system?
2.73

Please provide any additional information below.
Helpful to have change when debugging const btRigidBody's.

Original issue reported on code.google.com by abh...@gmail.com on 2 Feb 2009 at 9:40

GoogleCodeExporter commented 9 years ago
good point, it has been fixed in the latest trunk:

http://code.google.com/p/bullet/source/detail?r=1595
Thanks for the feedback!
Erwin

Original comment by erwin.coumans on 3 Feb 2009 at 1:13