Skip to content
Snippets Groups Projects
Commit f92d3e2e authored by Tobias Schmidt's avatar Tobias Schmidt
Browse files

fix composite3 unittest for old boost version

parent 2acfbc6d
No related branches found
No related tags found
No related merge requests found
......@@ -205,7 +205,7 @@ BOOST_AUTO_TEST_CASE(rotation3)
Rotation3 r2(Vec3(0,1,0), 30.0*M_PI/180.0,Vec3(2,0,0));
Vec3 vrot2=r2.Apply(v);
BOOST_CHECK_CLOSE(2.0-Real(cos(30.0*M_PI/180.0)), Real(vrot2[0]), Real(1e-5));
BOOST_CHECK_CLOSE(Real(2.0)-Real(cos(30.0*M_PI/180.0)), Real(vrot2[0]), Real(1e-5));
BOOST_CHECK_SMALL(vrot2[1],float(1e-5));
BOOST_CHECK_CLOSE(Real(sin(30.0*M_PI/180.0)), Real(vrot2[2]), Real(1e-5));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment