diff --git a/godot/core/planes.nim b/godot/core/planes.nim index 360953f..99dd652 100644 --- a/godot/core/planes.nim +++ b/godot/core/planes.nim @@ -2,7 +2,8 @@ import vector3 -import internal.godotinternaltypes, godotcoretypes, gdnativeapi +import internal.godotinternaltypes, internal.godotstrings +import godotcoretypes, gdnativeapi proc initPlane*(a, b, c, d: float32): Plane {.inline.} = getGDNativeAPI().planeNewWithReals(result, a, b, c, d) diff --git a/godot/core/quats.nim b/godot/core/quats.nim index 016bbd0..ea8cad4 100644 --- a/godot/core/quats.nim +++ b/godot/core/quats.nim @@ -1,6 +1,7 @@ # Copyright (c) 2017 Xored Software, Inc. -import internal.godotinternaltypes, godotcoretypes, gdnativeapi +import internal.godotinternaltypes, internal.godotstrings +import godotcoretypes, gdnativeapi proc initQuat*(x, y, z, w: float32): Quat {.inline.} = result = Quat( diff --git a/godot/core/rect2.nim b/godot/core/rect2.nim index 628e203..ad813a9 100644 --- a/godot/core/rect2.nim +++ b/godot/core/rect2.nim @@ -1,7 +1,8 @@ # Copyright (c) 2017 Xored Software, Inc. import vector2 -import godotcoretypes, internal.godotinternaltypes, gdnativeapi +import internal.godotinternaltypes, internal.godotstrings +import godotcoretypes, gdnativeapi proc initRect2*(pos, size: Vector2): Rect2 {.inline.} = Rect2(position: pos, size: size) diff --git a/godot/core/rect3.nim b/godot/core/rect3.nim index 7a2ef72..dc2f2c2 100644 --- a/godot/core/rect3.nim +++ b/godot/core/rect3.nim @@ -1,6 +1,7 @@ # Copyright (c) 2017 Xored Software, Inc. -import godotcoretypes, internal.godotinternaltypes, gdnativeapi +import internal.godotinternaltypes, internal.godotstrings +import godotcoretypes, gdnativeapi proc initRect3*(pos, size: Vector3): Rect3 {.inline.} = Rect3(position: pos, size: size) diff --git a/godot/core/transform2d.nim b/godot/core/transform2d.nim index 67222c6..922b24b 100644 --- a/godot/core/transform2d.nim +++ b/godot/core/transform2d.nim @@ -1,6 +1,7 @@ # Copyright (c) 2017 Xored Software, Inc. -import godotcoretypes, internal.godotinternaltypes, gdnativeapi +import internal.godotinternaltypes, internal.godotstrings +import godotcoretypes, gdnativeapi proc initTransform2D*(): Transform2D {.inline.} = getGDNativeAPI().transform2DNewIdentity(result) diff --git a/godot/core/transforms.nim b/godot/core/transforms.nim index 550136c..f70a1f8 100644 --- a/godot/core/transforms.nim +++ b/godot/core/transforms.nim @@ -1,6 +1,7 @@ # Copyright (c) 2017 Xored Software, Inc. -import godotcoretypes, internal.godotinternaltypes, gdnativeapi +import internal.godotinternaltypes, internal.godotstrings +import godotcoretypes, gdnativeapi import basis proc initTransform*(): Transform {.inline.} = diff --git a/godot/core/vector2.nim b/godot/core/vector2.nim index 94b5b40..9eca64d 100644 --- a/godot/core/vector2.nim +++ b/godot/core/vector2.nim @@ -1,6 +1,7 @@ # Copyright (c) 2017 Xored Software, Inc. -import internal.godotinternaltypes, godotcoretypes, gdnativeapi +import internal.godotinternaltypes, internal.godotstrings +import godotcoretypes, gdnativeapi proc vec2*(x, y: float32): Vector2 {.inline.} = Vector2(x: x, y: y)