d3dx8: Test the function D3DXVec3Cross really.

This commit is contained in:
David Adam 2007-10-26 21:46:32 +02:00 committed by Alexandre Julliard
parent 7d0f15f964
commit 145264efa6
1 changed files with 2 additions and 1 deletions

View File

@ -451,8 +451,9 @@ static void D3X8Vector3Test(void)
expect_vec3(expectedvec,gotvec);
/*_______________D3DXVec3Cross________________________*/
expectedvec.x = -18.0f; expectedvec.y = 40.0f; expectedvec.z = -30.0f;
expectedvec.x = -18.0f; expectedvec.y = 40.0f; expectedvec.z = -39.0f;
D3DXVec3Cross(&gotvec,&u,&v);
expect_vec3(expectedvec,gotvec);
/* Tests the case NULL */
funcpointer = D3DXVec3Cross(&gotvec,NULL,&v);
ok(funcpointer == NULL, "Expected: %p, Got: %p\n", NULL, funcpointer);