first
This commit is contained in:
commit
1fd13fa66f
5 changed files with 239 additions and 0 deletions
7
other.go
Normal file
7
other.go
Normal 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)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue