Fix Mesh, add missing functions, move gestures to file

This commit is contained in:
Milan Nikolic 2017-02-20 15:48:04 +01:00
parent 8fa575dce2
commit 19d2f59142
6 changed files with 165 additions and 113 deletions

View file

@ -139,3 +139,10 @@ func MeasureTextEx(spriteFont SpriteFont, text string, fontSize float32, spacing
v := NewVector2FromPointer(unsafe.Pointer(&ret))
return v
}
// Shows current FPS
func DrawFPS(posX int32, posY int32) {
cposX := (C.int)(posX)
cposY := (C.int)(posY)
C.DrawFPS(cposX, cposY)
}