Fix $ for core types

This commit is contained in:
Ruslan Mustakov 2017-10-12 21:26:36 +07:00
commit 7f73a89878
7 changed files with 14 additions and 7 deletions

View file

@ -1,6 +1,7 @@
# Copyright (c) 2017 Xored Software, Inc.
import internal.godotinternaltypes, godotcoretypes, gdnativeapi
import internal.godotinternaltypes, internal.godotstrings
import godotcoretypes, gdnativeapi
proc vec2*(x, y: float32): Vector2 {.inline.} =
Vector2(x: x, y: y)