bizarre fix for issue 101
parent
c6de457a4b
commit
c56b56a178
|
|
@ -54,8 +54,11 @@ public:
|
||||||
static Point3 unrotate(const Rot2& R, const Point3& p,
|
static Point3 unrotate(const Rot2& R, const Point3& p,
|
||||||
boost::optional<Matrix&> HR = boost::none) {
|
boost::optional<Matrix&> HR = boost::none) {
|
||||||
Point3 q = Rot3::yaw(R.theta()).unrotate(p, HR);
|
Point3 q = Rot3::yaw(R.theta()).unrotate(p, HR);
|
||||||
if (HR)
|
if (HR) {
|
||||||
*HR = HR->col(2);
|
// assign to temporary first to avoid error in Win-Debug mode
|
||||||
|
Matrix H = HR->col(2);
|
||||||
|
*HR = H;
|
||||||
|
}
|
||||||
return q;
|
return q;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue