From 7548c5e2ac8acc8db7f1c666cb6364e69ec44325 Mon Sep 17 00:00:00 2001 From: mcallieri Date: Tue, 16 Dec 2008 09:52:04 +0000 Subject: [PATCH] corrected a pow argument casting --- vcg/math/camera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/math/camera.h b/vcg/math/camera.h index 1a003e80..3d5e365d 100644 --- a/vcg/math/camera.h +++ b/vcg/math/camera.h @@ -379,7 +379,7 @@ vcg::Point2 Camera::UndistortedToDistorted(vcg::Point2 else /* three real roots */ { D = sqrt(-D); - S = pow((hypot (R, D)),CBRT); + S = pow((Scalar)(hypot (R, D)),(Scalar)CBRT); T = atan2 (D, R) / 3; //SinCos(T, sinT, cosT); sinT=sin(T);