My specific example is as simple as this :
Code: Select all
btVector3 vec(1, 0, 0);
btVector3 other(-1, 0, 0);
btVector3 axis(0, 1, 0);
float angle = vec.angle(other);
btVector3 clockwise = vec.rotate(axis, angle);
Am I doing something wrong ? Or am I even more naive and this is "expected" behavior ? Or is it really a bug ? (I'm using bullet 2.82 and compile it with visual C++ 2013) What would be the way to work around this ?