   Calculate x, y, and z positions using matrices
  I have a ?I have the calculated angles and the rotations on my jet. but I need to know which function by supplying 1 or all of the x,y, and z values to calculate his new position.by that I meanangles might be x = 80y = 55z = 15position might bex = 20y = 0z = 55from that data what functions would I use to calculate hiw new position, since just adding them would''nt really be right I think. I dont need the code but rather the methodology or links behind it  
  Use this assuming the final MATRIX is mat, and the position is x,y,zD3DXVECTOR3 newposition;newposition.x=mat._11*x+mat._12*y+mat._13*z+mat._41;newposition.y=mat._21*x+mat._22*y+mat._23*z+mat._42;newposition.z=mat._31*x+mat._32*y+mat._33*z+mat._43;// This is things have to do with 3d matrices rotations  ;  thanks  