Alex Henrie : d3dx9/tests: Relax D3DXQuaternionToAxisAngle test stringency a bit.
Alexandre Julliard
julliard at winehq.org
Fri Nov 10 17:21:29 CST 2017
Module: wine
Branch: master
Commit: f6fdcc848d75de583be9492e65d39661bfcea993
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f6fdcc848d75de583be9492e65d39661bfcea993
Author: Alex Henrie <alexhenrie24 at gmail.com>
Date: Thu Nov 9 21:36:10 2017 -0700
d3dx9/tests: Relax D3DXQuaternionToAxisAngle test stringency a bit.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dx9_36/tests/math.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c
index cb9bf1c..ec07348 100644
--- a/dlls/d3dx9_36/tests/math.c
+++ b/dlls/d3dx9_36/tests/math.c
@@ -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;
More information about the wine-cvs
mailing list