Rotations from Quaternion around a fixed point

hi,

how would i go about rotating around a particular point in the scene. Because the rotation:



p_rot.fromAngleAxis((float) Math.toRadians(1f), p_rot_axis);


where p_rot is a quaternion and p_rot_axis is a Vector3f?

because this method rotates around the camera

Quaternions are used to generate a rotational matrix. So,


p_rot.fromAngleAxis((float)Math.toRadians(1f), p_rot_axis);
//you now have a rotational quaternion (p_rot)
Vector3f rotatedPoint = p_rot.toRotationMatrix().mult(point);

thats great mojomonkey. thanks