mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 10:44:47 +00:00
d3dx9/tests: Relax D3DXQuaternionToAxisAngle test stringency a bit.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fef5871e28
commit
f6fdcc848d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue