aboutsummaryrefslogtreecommitdiff
path: root/examples/game/raylib.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-11 18:02:13 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-11 18:02:13 -0400
commitde0e565d00e92715d415a9ab09d8f7651bfabc36 (patch)
tree5523d775ff95b9c88ae8d599e82276e4f19d81db /examples/game/raylib.tm
parent1f6e586b2a3fe7f8ca32ce95659032bafef0ad24 (diff)
Fixes for integer truncation
Diffstat (limited to 'examples/game/raylib.tm')
-rw-r--r--examples/game/raylib.tm1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/game/raylib.tm b/examples/game/raylib.tm
index 2721d0e1..faa6f227 100644
--- a/examples/game/raylib.tm
+++ b/examples/game/raylib.tm
@@ -57,6 +57,7 @@ extern CloseWindow:func()
extern ClearBackground:func(color:Color)
extern DrawRectangle:func(x,y,width,height:Int32, color:Color)
extern DrawRectangleRec:func(rec:Rectangle, color:Color)
+extern DrawRectangleV:func(pos:Vector2, size:Vector2, color:Color)
extern DrawText:func(text:CString, x,y:Int32, text_height:Int32, color:Color)
extern GetScreenWidth:func(->Int32)
extern GetScreenHeight:func(->Int32)