00001 #include <TooN/so3.h> 00002 #include <cmath> 00003 00004 using namespace TooN; 00005 using namespace std; 00006 00007 int main() 00008 { 00009 Vector<3> v = makeVector(M_PI, 0, 0); 00010 00011 cout << SO3<>::exp(v); 00012 00013 const Vector<3>& u(v); 00014 00015 cout << SO3<>::exp(u); 00016 00017 cout << SO3<>::exp(u.as_slice()); 00018 00019 }