This commit is contained in:
InventorXtreme 2024-04-21 00:14:03 -04:00
commit 1fd13fa66f
5 changed files with 239 additions and 0 deletions

7
other.go Normal file
View file

@ -0,0 +1,7 @@
package pinwindows
import rl "github.com/gen2brain/raylib-go/raylib"
func DrawTextureFlipped(rentex *rl.Texture2D, posx, posy int32) {
rl.DrawTexturePro(*rentex, rl.NewRectangle(0, 0, float32(rentex.Width), -float32(rentex.Height)), rl.NewRectangle(float32(posx), float32(posy), float32(rentex.Width), float32(rentex.Height)), rl.NewVector2(0, 0), 0, rl.White)
}