mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
Relax slerp unit test
This commit is contained in:
parent
5431473d67
commit
61c3f55362
@ -38,7 +38,7 @@ template<typename QuatType> void check_slerp(const QuatType& q0, const QuatType&
|
||||
Scalar theta = AA(q*q0.inverse()).angle();
|
||||
VERIFY(abs(q.norm() - 1) < largeEps);
|
||||
if(theta_tot==0) VERIFY(theta_tot==0);
|
||||
else VERIFY(abs(theta/theta_tot - t) < largeEps);
|
||||
else VERIFY(abs(theta - t * theta_tot) < largeEps);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user