Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么计算控制点会出现NaN的情况 #6

Closed
huanghaiyang opened this issue Oct 26, 2022 · 1 comment
Closed

为什么计算控制点会出现NaN的情况 #6

huanghaiyang opened this issue Oct 26, 2022 · 1 comment

Comments

@huanghaiyang
Copy link

https://github.com/SilentTiger/laser-pen/blob/main/src/index.ts

if (isNaN(cpx) || isNaN(cpy) || isNaN(cnx) || isNaN(cny)) { console.log('a') }

有什么解决方法么

@huanghaiyang
Copy link
Author

我知道了

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant