Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualMedo3337

Posted 11 May 2012 - 05:29 AM

@Tispe: I am not sure about what you mean, can you please complete the following code to make the rotation:

D3DXVECTOR3 dest(mesh1->posX, mesh1->posY, mesh1->posZ);

D3DXVECTOR3 src(mesh2->posX, mesh2->posY, mesh2->posZ);

D3DXVECTOR3 distance = dest - src;

D3DXMatrixRotationYawPitchRoll(&matRotation, Yaw, Pitch, Roll); // Change this line for rotation


Thanks,


#3Medo3337

Posted 11 May 2012 - 05:29 AM

@Tispe: I am not sure about what you mean, can you please complete the following code to make the rotation:

D3DXVECTOR3 dest(mesh1->posX, mesh1->posY, mesh1->posZ);

D3DXVECTOR3 src(mesh2->posX, mesh2->posY, mesh2->posZ);

D3DXVECTOR3 distance = dest - src;

D3DXMatrixRotationYawPitchRoll(&matRotation, Yaw, Pitch, Roll); // Change this line for rotation



Thanks,


#2Medo3337

Posted 11 May 2012 - 05:29 AM

@Tispe: I am not sure about what you mean, can you please complete the following code to make the rotation:

D3DXVECTOR3 dest(mesh1->posX, mesh1->posY, mesh1->posZ);

D3DXVECTOR3 src(mesh2->posX, mesh2->posY, mesh2->posZ);

D3DXVECTOR3 distance = dest - src;


D3DXMatrixRotationYawPitchRoll(&matRotation, Yaw, Pitch, Roll);

// Change this line for rotation



Thanks,


#1Medo3337

Posted 11 May 2012 - 05:29 AM

@Tispe: I am not sure about what you mean, can you please complete the following code to make the rotation:

D3DXVECTOR3 dest(mesh1->posX, mesh1->posY, mesh1->posZ);


D3DXVECTOR3 src(mesh2->posX, mesh2->posY, mesh2->posZ);


D3DXVECTOR3 distance = dest - src;


D3DXMatrixRotationYawPitchRoll(&matRotation, Yaw, Pitch, Roll);

// Change this line for rotation



Thanks,


PARTNERS