40 for(
size_t i = 0; i < points1.size() / 3; i++)
42 glColor3f(1.0f, 0.0f, 0.0f);
43 glVertex3f(points1[i * 3], points1[i * 3 + 1], points1[i * 3 + 2]);
44 glColor3f(0.0f, 1.0f, 0.0f);
45 glVertex3f(points2[i * 3], points2[i * 3 + 1], points2[i * 3 + 2]);
48 for(
size_t i = 0; i < points1.size() / 3; i++)
51 glColor3f(0.0f, 0.0f, 1.0f);
52 glVertex3f(points1[i * 3], points1[i * 3 + 1], points1[i * 3 + 2]);
53 glVertex3f(points2[i * 3], points2[i * 3 + 1], points2[i * 3 + 2]);
PointCorrespondences(std::vector< float > points1, std::vector< float > points2)