Bug in RotationalOdeJointAxis

Hey folks,



I found a copy-paste bug in the RotationalOdeJointAxis.java:

original code is:



    @Override

    public float getVelocity() {

        if ( delegate != null ) {

            return delegate.getPosition();  <


?
        }
        else {
            return Float.NaN;
        }
    }

propper coder would be (i guess):
    @Override
    public float getVelocity() {
        if ( delegate != null ) {
            return delegate.getVelocity(); <
!
        }
        else {
            return Float.NaN;
        }
    }

Greetings,
Marcus

thanks! fixed in cvs