From 145264efa691b0f065c3859570772e22f6624e69 Mon Sep 17 00:00:00 2001 From: David Adam Date: Fri, 26 Oct 2007 21:46:32 +0200 Subject: [PATCH] d3dx8: Test the function D3DXVec3Cross really. --- dlls/d3dx8/tests/math.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/d3dx8/tests/math.c b/dlls/d3dx8/tests/math.c index 258222d3454..f410b64b22a 100644 --- a/dlls/d3dx8/tests/math.c +++ b/dlls/d3dx8/tests/math.c @@ -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);