Re: d3dx9: Implement D3DXMatrixAffineTransformation2D with tests
18 Sep
2008
18 Sep
'08
6:28 p.m.
Hi, you forgot the WINAPI in front of the function declaration and implementation. Maybe you should add a set_mat(_11, _12, _13, ....) macro to make the exp_mat better to read and not that big in size, However, I think it's better to dynamically calculate the expected matrix rather than compare it to hard-coded values (I'm not sure about that one though, it's just what _I_ would do). It would at least make the whole thing easier be adopted to new tests (of the same function with different values). Best regards, Tony
6296
Age (days ago)
6296
Last active (days ago)
0 comments
1 participants
participants (1)
-
Tony Wasserka