Join Slack
Powered by
however, I am overwriting the `inc()` operator rig...
# getting-started
e
elect
10/05/2016, 4:30 PM
however, I am overwriting the
inc()
operator right now, and according to the wiki (
https://kotlinlang.org/docs/reference/operator-overloading.html
) this should works as intended:
operator fun inc(): Vec2 = copy(x++, y++)
, am I right?
5
Views
Open in Slack
Previous
Next