-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HexCoord: - Added PolarNeighbor(), gets next/previous hex in same ring from origin, faster than static AtPolar() - Added AngleToHalfSextant(), HalfSextantToAngle() - Improved behavior of CartesianBoundingRectangle(), bounds were unnecessarily large in some cases. - Unity 4.5.0 can serialize structs! HexCoord is now serializable. - Readonly fields aren't exposed to the Inspector, so HexCoord is no longer immutable. - Updated Scale() to modify in-place. (Still returns, to avoid code breakage.) HexCoordinate: - Deprecated for Unity 4.5.0+.
- Loading branch information
Showing
2 changed files
with
72 additions
and
29 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