Re: d3dx9: Implementation of D3DXMatrixDecompose and tests
Hi, 1. The order of +/*The components of the translation transformation vector are straigth in the fourth column of the transformation matrix*/ +(*pouttranslation).x=(*pM).m[3][0]; +(*pouttranslation).y=(*pM).m[3][1]; +(*pouttranslation).z=(*pM).m[3][2]; + +/*Let's calculate
Re: d3dx9: Implementation of D3DXMatrixDecompose and tests
2008/8/4 Luis Busquets <[EMAIL PROTECTED]>: > +#include "d3d9.h" ... > +#define module(vx,vy,vz) sqrt((vx)*(vx)+(vy)*(vy)+(vz)*(vz)) ... > +#include "stdio.h" You don't really need those.