Skip to content

Commit

Permalink
Merge pull request opencv#6731 from jokereactive:viz_sample
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Jun 30, 2016
2 parents 4aa9b23 + 43dca11 commit b7735b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/cpp/tutorial_code/viz/transformations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ int main(int argn, char **argv)
myWindow.showWidget("Coordinate Widget", viz::WCoordinateSystem());

/// Let's assume camera has the following properties
Point3f cam_pos(3.0f,3.0f,3.0f), cam_focal_point(3.0f,3.0f,2.0f), cam_y_dir(-1.0f,0.0f,0.0f);
Vec3f cam_pos(3.0f,3.0f,3.0f), cam_focal_point(3.0f,3.0f,2.0f), cam_y_dir(-1.0f,0.0f,0.0f);

/// We can get the pose of the cam using makeCameraPose
Affine3f cam_pose = viz::makeCameraPose(cam_pos, cam_focal_point, cam_y_dir);
Expand Down

0 comments on commit b7735b3

Please sign in to comment.