#include "mbconfig.h"
#include <cstring>
#include <iostream>
#include "matvec3.h"
Go to the source code of this file.
int main |
( |
int |
argn, |
|
|
const char *const |
argv[] |
|
) |
| |
Definition at line 40 of file posrel.cc.
References EulerAngles2MatR(), M_PI, and Mat3x3::Transpose().
47 std::cin >> d[1] >> d[2];
49 std::cin >> d[0] >> d[1] >> d[2];
51 std::cin >> d[0] >> d[1] >> d[2];
54 std::cout << R1.Transpose()*(x2-x1) << std::endl;
60 return (EXIT_SUCCESS);
Mat3x3 EulerAngles2MatR(const Vec3 &v)