Merge branch 'gen2brain:master' into master

This commit is contained in:
unkl nik 2023-10-17 19:46:34 +02:00 committed by GitHub
commit 6f0f7a0d03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import (
"math/rand"
"time"
"github.com/gen2brain/raylib-go/raylib"
rl "github.com/gen2brain/raylib-go/raylib"
)
const (
@ -32,7 +32,7 @@ type Game struct {
}
func main() {
rand.Seed(time.Now().UnixNano())
rand.New(rand.NewSource(time.Now().UnixNano()))
game := Game{}
game.Init(false)

View file

@ -200,6 +200,9 @@ const (
// Set to try enabling interlaced video format (for V3D)
FlagInterlacedHint = 0x00010000
// KeyNull is used for no key pressed
KeyNull = 0
// Keyboard Function Keys
KeySpace = 32
KeyEscape = 256