pinwindows/other.go
2024-04-21 00:14:03 -04:00

8 lines
366 B
Go

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)
}