blob: 457c28f91a5f279e5ec09b91ae275ff689921a18 [file] [log] [blame]
Austin Schuh189376f2018-12-20 22:11:15 +11001Vector3d v = Vector3d::Random(), w;
2Projective3d P(Matrix4d::Random());
3cout << "v = [" << v.transpose() << "]^T" << endl;
4cout << "h.homogeneous() = [" << v.homogeneous().transpose() << "]^T" << endl;
5cout << "(P * v.homogeneous()) = [" << (P * v.homogeneous()).transpose() << "]^T" << endl;
6cout << "(P * v.homogeneous()).hnormalized() = [" << (P * v.homogeneous()).eval().hnormalized().transpose() << "]^T" << endl;