well I kinda search for something like this, but in the other direction.
public static Vector3f GetForward(Quaternion quat){
Matrix3f matrix = quat.toRotationMatrix();
Vector3f front = matrix.mult(Vector3f.UNIT_Y);
return front;
}
Since a Vector can not contain any data for the roll, it would be nice if i can just give a float as a second parameter.
But since I kinda suck at math, not to mention quaternions, any help would be nice.