From eed7bf69026fdb2b0ffeec51029cdcb4348c7dbc Mon Sep 17 00:00:00 2001 From: Anatoly Baksheev Date: Fri, 6 Sep 2013 18:43:14 +0400 Subject: [PATCH] compilation for windows --- modules/viz/src/interactor_style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/viz/src/interactor_style.cpp b/modules/viz/src/interactor_style.cpp index ace60c860..42b3f6b0b 100644 --- a/modules/viz/src/interactor_style.cpp +++ b/modules/viz/src/interactor_style.cpp @@ -275,7 +275,7 @@ cv::viz::InteractorStyle::OnKeyDown () std::cerr << Mat(clip, false).reshape(1, 1) << "/" << Mat(focal, false).reshape(1, 1) << "/" << Mat(pose, false).reshape(1, 1) << "/" << Mat(view, false).reshape(1, 1) << "/" << - cam->GetViewAngle () / 180.0 * M_PI << "/" << + cam->GetViewAngle () / 180.0 * CV_PI << "/" << Mat(win_size, false).reshape(1,1) << "/" << Mat(win_pos, false).reshape(1,1) << endl; break; }