No destructors
This commit is contained in:
parent
2fd1efcc4e
commit
f5769045fc
34 changed files with 1701 additions and 1216 deletions
|
|
@ -1,6 +1,8 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
|
||||
import godotbase, plane, vector3, strings
|
||||
import godotbase, planes, vector3
|
||||
|
||||
import "../internal/godotstrings.nim"
|
||||
|
||||
type
|
||||
Rect3* {.byref.} = object
|
||||
|
|
@ -10,11 +12,13 @@ type
|
|||
proc initRect3*(pos, size: Vector3): Rect3 {.inline.} =
|
||||
Rect3(position: pos, size: size)
|
||||
|
||||
proc toGodotString*(self: Rect3): GodotString {.
|
||||
proc toGodotString(self: Rect3): GodotString {.
|
||||
noSideEffect,
|
||||
importc: "godot_rect3_as_string".}
|
||||
|
||||
proc `$`*(self: Rect3): string {.inline.} =
|
||||
$self.toGodotString()
|
||||
|
||||
proc area*(self: Rect3): float32 {.
|
||||
noSideEffect,
|
||||
importc: "godot_rect3_get_area".}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue