Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtschump committed Dec 19, 2024
1 parent e36e2c1 commit 3b6d70f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions CImg.h
Original file line number Diff line number Diff line change
Expand Up @@ -28246,14 +28246,8 @@ namespace cimg_library {

static double mp_rot2d(_cimg_math_parser& mp) {
double *ptrd = &_mp_arg(1) + 1;
const float
theta = (float)_mp_arg(2),
ca = std::cos(theta),
sa = std::sin(theta);
*(ptrd++) = ca;
*(ptrd++) = -sa;
*(ptrd++) = sa;
*ptrd = ca;
const double theta = _mp_arg(2), ca = std::cos(theta), sa = std::sin(theta);
ptrd[0] = ptrd[3] = ca; ptrd[1] = -sa; ptrd[2] = sa;
return cimg::type<double>::nan();
}

Expand Down

0 comments on commit 3b6d70f

Please sign in to comment.