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

@ -2,10 +2,7 @@
import math
import godotbase, vector3, quats
type
Basis* {.byref.} = object
elements*: array[3, Vector3]
import godotcoretypes
proc setCells*(basis: var Basis, xx, xy, xz, yx, yy, yz, zx, zy, zz: float32) =
basis.elements[0].x = xx