Created
June 2, 2016 06:24
-
-
Save anonymous/dfc78d8211e021c50c12289e1ed543e5 to your computer and use it in GitHub Desktop.
the description for this gist
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
case class Position(x: Double, y: Double, heading: Degree) | |
case class Degree(private val d: Int) { | |
val value = d % 360 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment