I'm trying to extract a row from the world matrix to place into my forward vector which when called in the Update function will make the plane move forward. Currently I have this working but I access the members directly, is there a function that would automatically pull a row out of my matrix?
// [Skip this step first time through] Get the forward vector out of the world matrix and put it in m_vForwardVector
XMFLOAT4X4 f44; //create a 4x4 float
XMStoreFloat4x4(&f44, m_mWorldMatrix); //pass the world matrix into the 4x4 float
m_vForwardVector = XMVectorSet(f44._31, f44._32, f44._33, f44._34); //pass the forward vector values from the world matrix into the forward vector