-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
PR #1/5 Astolfo feature/builtin-scalar #65
PR #1/5 Astolfo feature/builtin-scalar #65
Conversation
apologies for the mistake with the previous pr. this implements the scalar functions needed for Vector2,3 etc. |
Even in a |
Correct, |
On the other hand, in Certain functions like For others, I'm not sure. I'm a bit hesitant to provide two versions of each function, so sticking to bors try |
tryBuild failed: |
CI passed except for the license-guard:
Once you fix this, we can merge this PR. There are almost certainly going to be API changes later, but it's good to have a starting version that powers the geometric types 👍 |
I would say, when in doubt, do as the engine does. Hunting down precision issues introduced by a port from GDScript to Rust does not sound like fun. |
5eaf0af
to
89aebad
Compare
Generally I agree, however we also need to consider ergonomics. If 95% of calls look like For now I would like to merge this to unblock the dependent PRs. There's anyway a lot to be done as follow-up for this functionality, for example:
bors r+ |
Build succeeded: |
@RealAstolfo First PR merged, thank you! 🙂 |
No description provided.