Commit f6fdcc84 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

d3dx9/tests: Relax D3DXQuaternionToAxisAngle test stringency a bit.

parent fef5871e
......@@ -1099,7 +1099,7 @@ static void D3DXQuaternionTest(void)
expectedvec.x = 1.0f/22.0f; expectedvec.y = 2.0f/22.0f; expectedvec.z = 4.0f/22.0f;
D3DXQuaternionToAxisAngle(&Nq,&axis,&angle);
expect_vec3(&expectedvec, &axis, 0);
equal = compare_float(angle, 2.197869f, 0);
equal = compare_float(angle, 2.197869f, 1);
ok(equal, "Got unexpected angle %.8e.\n", angle);
/* Test if |w|>1.0f */
expectedvec.x = 1.0f; expectedvec.y = 2.0f; expectedvec.z = 4.0f;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment