corrected a pow argument casting
This commit is contained in:
parent
0f0ac756e4
commit
7548c5e2ac
|
@ -379,7 +379,7 @@ vcg::Point2<Scalar> Camera<Scalar>::UndistortedToDistorted(vcg::Point2<Scalar>
|
||||||
else /* three real roots */
|
else /* three real roots */
|
||||||
{
|
{
|
||||||
D = sqrt(-D);
|
D = sqrt(-D);
|
||||||
S = pow((hypot (R, D)),CBRT);
|
S = pow((Scalar)(hypot (R, D)),(Scalar)CBRT);
|
||||||
T = atan2 (D, R) / 3;
|
T = atan2 (D, R) / 3;
|
||||||
//SinCos(T, sinT, cosT);
|
//SinCos(T, sinT, cosT);
|
||||||
sinT=sin(T);
|
sinT=sin(T);
|
||||||
|
|
Loading…
Reference in New Issue