-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inf var and use point-geometry lib for ops
- Loading branch information
1 parent
bc3d085
commit b4c496d
Showing
1 changed file
with
10 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unfortunately
add
only accepts point values. Also, the second line should besub
, notadd
. And while we're at it, there's no point in adding/subtracting padding here since it doesn't affect the center.