adding default color values to fix equality check

release/4.3a0
Ayush Baid 2021-01-06 12:08:22 +05:30
parent 1d417546ec
commit 7ae050cc87
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ struct SfmTrack {
SfmTrack(): p(0,0,0) {}
SfmTrack(const gtsam::Point3& pt) : p(pt) {}
Point3 p; ///< 3D position of the point
float r, g, b; ///< RGB color of the 3D point
float r = 0, g = 0, b = 0; ///< RGB color of the 3D point
std::vector<SfmMeasurement> measurements; ///< The 2D image projections (id,(u,v))
std::vector<SiftIndex> siftIndices;