Rename Rect3 to AABB to sync with Godot
This commit is contained in:
parent
cc6bfa0045
commit
bf5bd54356
13 changed files with 195 additions and 195 deletions
|
|
@ -45,7 +45,7 @@ type
|
|||
Transform2D,
|
||||
Plane,
|
||||
Quat, ## 10
|
||||
Rect3,
|
||||
AABB,
|
||||
Basis,
|
||||
Transform, ## misc types
|
||||
Color,
|
||||
|
|
|
|||
|
|
@ -44,8 +44,8 @@ proc initGodotVariant*(dest: var GodotVariant; plane: Plane) {.inline.} =
|
|||
proc initGodotVariant*(dest: var GodotVariant; quat: Quat) {.inline.} =
|
||||
getGDNativeAPI().variantNewQuat(dest, quat)
|
||||
|
||||
proc initGodotVariant*(dest: var GodotVariant; rect3: Rect3) {.inline.} =
|
||||
getGDNativeAPI().variantNewRect3(dest, rect3)
|
||||
proc initGodotVariant*(dest: var GodotVariant; aabb: AABB) {.inline.} =
|
||||
getGDNativeAPI().variantNewAABB(dest, aabb)
|
||||
|
||||
proc initGodotVariant*(dest: var GodotVariant; basis: Basis) {.inline.} =
|
||||
getGDNativeAPI().variantNewBasis(dest, basis)
|
||||
|
|
@ -138,8 +138,8 @@ proc asPlane*(self: GodotVariant): Plane {.inline.} =
|
|||
proc asQuat*(self: GodotVariant): Quat {.inline.} =
|
||||
getGDNativeAPI().variantAsQuat(self)
|
||||
|
||||
proc asRect3*(self: GodotVariant): Rect3 {.inline.} =
|
||||
getGDNativeAPI().variantAsRect3(self)
|
||||
proc asAABB*(self: GodotVariant): AABB {.inline.} =
|
||||
getGDNativeAPI().variantAsAABB(self)
|
||||
|
||||
proc asBasis*(self: GodotVariant): Basis {.inline.} =
|
||||
getGDNativeAPI().variantAsBasis(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue