Use GDNative API struct

This commit is contained in:
Ruslan Mustakov 2017-10-04 23:41:15 +07:00
commit b62db02d8f
32 changed files with 2846 additions and 1535 deletions

View file

@ -1,13 +1,7 @@
# Copyright (c) 2017 Xored Software, Inc.
import math
import godotbase
type
Vector3* {.byref.} = object
x*: float32
y*: float32
z*: float32
import godotbase, godotcoretypes
proc vec3*(): Vector3 {.inline.} =
Vector3()