Use GDNative API struct
This commit is contained in:
parent
cf75723fa1
commit
b62db02d8f
32 changed files with 2846 additions and 1535 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue