W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > May 2019

Re: [fxtf-drafts] [motion-1] Make sure the used offset distance is positive in closed loop (#339)

From: Brian Birtles via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 May 2019 01:12:54 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-492466618-1557882773-sysbot+gh@w3.org>
I'm probably not following, but it's not what ECMAScript '%' gives you, e.g. `-120 % 50` gives -20, but I believe the desired result here is 30 (assuming the used distance is supposed to be within the range of the path distance). Likewise for `fmod`.

-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/339#issuecomment-492466618 using your GitHub account
Received on Wednesday, 15 May 2019 01:12:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 15 May 2019 01:12:58 UTC