xiangaodielian / bullet

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

btHingeConstraint missing const modifiers #696

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I might be missing something, but I expect const modifiers on some functions 
and their parameters/return values:
1. -> CONST <- btTransform& btHingeConstraint::getFrameOffsetA() -> CONST <-
2. -> CONST <- btTransform& btHingeConstraint::getFrameOffsetB() -> CONST <-
3. void btHingeConstraint::setAxis( -> CONST <- btVector3& axisInA)
4. I just found out that many btHingeConstraint::getXxxxx functions are not 
constant. Not sure if i should list'em all here

What version of the product are you using? On what operating system?
bullet-2.81-rev2613

Thank you for such a great engine! You rock!!!

Original issue reported on code.google.com by gonzales...@gmail.com on 9 Feb 2013 at 3:19

GoogleCodeExporter commented 9 years ago
See https://github.com/bulletphysics/bullet3/issues/101

Original comment by erwin.coumans on 30 Mar 2014 at 6:21