On Wed, 1 Mar 2023 16:11:28 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> Will double check it, but I think I spaced out.
>
> dx = (dx != 0) ? -dx : 0;
> 
> also, is jdouble a floating point type?  if so, would that work correctly if 
> dx/dy are very small?

It's a floating point type.

Output is:

Delta: -0,000000, -0,058579
Delta: -0,000000, 0,029289

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1044#discussion_r1186743429

Reply via email to