#include "matrix.h" #include #include int main(void) { point3d p(0, 0, 0); matrix trans(matrix::TRANSLATION, 0, 1, 0); matrix rot(matrix::ROTATION, M_PI, 0, 0); cout << p << endl; p = trans*p; cout << p << endl; p = rot*p; cout << p << endl; return 0; }