#include <iostream>
#include <Eigen/Geometry>
#include <bench/BenchTimer.h>
Go to the source code of this file.
|
int | main () |
|
template<typename Q > |
EIGEN_DONT_INLINE Q | nlerp (const Q &a, const Q &b, typename Q::Scalar t) |
|
template<typename T > |
T | sin_over_x (T x) |
|
template<typename Q > |
EIGEN_DONT_INLINE Q | slerp_eigen (const Q &a, const Q &b, typename Q::Scalar t) |
|
template<typename Q > |
EIGEN_DONT_INLINE Q | slerp_gael (const Q &a, const Q &b, typename Q::Scalar t) |
|
template<typename Q > |
EIGEN_DONT_INLINE Q | slerp_legacy (const Q &a, const Q &b, typename Q::Scalar t) |
|
template<typename Q > |
EIGEN_DONT_INLINE Q | slerp_legacy_nlerp (const Q &a, const Q &b, typename Q::Scalar t) |
|
template<typename Q > |
EIGEN_DONT_INLINE Q | slerp_rw (const Q &a, const Q &b, typename Q::Scalar t) |
|
◆ BENCH
Value:{\
for(int k=0; k<2; ++k) {\
t.start(); \
for(
int i=0;
i<1000000; ++
i) \
t.stop(); \
} \
cout << " " << #FUNC << " => \t " << t.value() << "s\n"; \
}
◆ main()
◆ nlerp()
◆ sin_over_x()
◆ slerp_eigen()
◆ slerp_gael()
◆ slerp_legacy()
◆ slerp_legacy_nlerp()
◆ slerp_rw()