00001 #include <TooN/helpers.h> 00002 00003 #include <iostream> 00004 00005 using namespace std; 00006 00007 int main(int, char **) { 00008 TooN::Vector<3> t = TooN::makeVector(0,1,2); 00009 TooN::Vector<> t2 = TooN::makeVector(0,1,2); 00010 00011 cout << t << "\t" << TooN::project(t) << "\t" << TooN::unproject(t) << endl; 00012 cout << t2 << "\t" << TooN::project(t2) << "\t" << TooN::unproject(t2) << endl; 00013 00014 return 0; 00015 }