-
-
Notifications
You must be signed in to change notification settings - Fork 117
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port Rect.scale_by(|_ip) #2277
Port Rect.scale_by(|_ip) #2277
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though you have correctly credited original authors in the PR comment, it would be nice to add co-authors in the git commit itself
PS: FYI I did some digging, and the tests seem to be written by the 2 people you have already credited
I've added the two original authors as co-authors on my commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this PR as it's just a port of an upstream one. The minor nitpick I mentioned can also be left for later
Credit goes to @dr0id for implementation and @jonotassia for keywords Co-Authored-By: Jono Tassia <jonotassia@gmail.com> Co-Authored-By: dr0id <231898+dr0id@users.noreply.github.com>
Credit goes to @dr0id for implementation and @jonotassia for keywords
This is mostly a straightforward code port, as is allowed under LGPL.
It did take me a while to get everything into the Rect/FRect system we've got, and to make sure the FRect tests demonstrated float-ness 馃槄
I'm not sure who wrote it, but this method has a huge test suite.