-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KT] Box2d - Make Box2d kotlin more idiomatic 1
- Make `Vec2` and `Vec3` data classes, so we don't have to implement `clone` - Make `Vec2.dot`, `Vec2.cross`, `Vec3.dot` and `Vec3.cross` infix functions. - Make `add`, `mul`,... operator overloads. PiperOrigin-RevId: 714173937
- Loading branch information
1 parent
7e73071
commit 2c78761
Showing
30 changed files
with
297 additions
and
380 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
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
Oops, something went wrong.