StanleyProjects / KotlinExtension.Math

A few math extensions.
MIT License
0 stars 0 forks source link

Point.getDifference: point #12

Open kepocnhh opened 2 years ago

kepocnhh commented 2 years ago
fun Point.difference(that: Point): Offset {
    return offsetOf(
        dX = this.x - that.x,
        dY = this.y - that.y
    )
}
continuousi commented 2 years ago

Marked as status/ready for test in 0.0.2-STAGING by CI build #4.

continuousi commented 2 years ago

Marked as status/tested in 0.1.0-SNAPSHOT by CI build #3.