Fix Vector2 +=
This commit is contained in:
parent
d4ab8a5524
commit
ae3171cb98
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
version = "0.7.2"
|
version = "0.7.3"
|
||||||
author = "Xored Software, Inc."
|
author = "Xored Software, Inc."
|
||||||
description = "Godot Engine bindings"
|
description = "Godot Engine bindings"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ proc `+`*(self, other: Vector2): Vector2 {.inline.} =
|
||||||
getGDNativeAPI().vector2OperatorAdd(self, other)
|
getGDNativeAPI().vector2OperatorAdd(self, other)
|
||||||
|
|
||||||
proc `+=`*(self: var Vector2, other: Vector2) {.inline.} =
|
proc `+=`*(self: var Vector2, other: Vector2) {.inline.} =
|
||||||
self += other
|
self = self + other
|
||||||
|
|
||||||
proc `-`*(self, other: Vector2): Vector2 =
|
proc `-`*(self, other: Vector2): Vector2 =
|
||||||
getGDNativeAPI().vector2OperatorSubtract(self, other)
|
getGDNativeAPI().vector2OperatorSubtract(self, other)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue