fix build with GCC 3.3 on Ubuntu 8.04

This commit is contained in:
Vadim Pisarevsky
2010-07-09 09:09:20 +00:00
parent 4187f11610
commit db82906067
5 changed files with 57 additions and 50 deletions

View File

@@ -145,7 +145,7 @@ protected:
Mat_<double> res = Q * Mat_<double>(4, 1, from);
res /= res(3, 0);
out3d_t pixel_exp = *res.ptr<Vec3d>();
out3d_t pixel_exp = *(Vec3d*)res.data;
out3d_t pixel_out = _3dImg(y, x);
const int largeZValue = 10000; /* see documentation */