-
-
Notifications
You must be signed in to change notification settings - Fork 26
How to pass floating types, such as VecPoint2f
, to functions?
#351
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
Comments
@redcurry Unfortunately this is not supported now, to support it we have to add a new C API and it's dart wrapper. Is the precision important for your application? If so, I can add it when having some time. |
No, it's not really that important. Just wondering if there was a way to do it now. I'll just convert |
On second thought, it can impact the accuracy of my application (since it involves measuring), so I'll reopen this issue. |
It's fine to leave it open, but I have no much time recently, so it's unlikely to be solved in a short time. What functions do you need? I am considering add APIs that take |
No worries, and thank you. At the moment, I need the Update: I also need the |
Functions such as
arcLength
take aVecPoint
, but there isn't an equivalentarcLength2f
that take aVecPoint2f
. What's the best way to handle this? I could convertVecPoint2f
toVecPoint
, but I lose some precision doing that.The text was updated successfully, but these errors were encountered: