firstperson

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyForward = sdl.SCANCODE_W
	KeyBack    = sdl.SCANCODE_S
	KeyLeft    = sdl.SCANCODE_A
	KeyRight   = sdl.SCANCODE_D
)

Variables

View Source
var (
	MouseX      int32
	MouseDeltaX int32
	MouseState  uint32
)

Functions

func GetMouseInput

func GetMouseInput()

func Init

func Init()

func KeyDown

func KeyDown(key uint8) bool

func MovePlayer

func MovePlayer()

func RenderViewport

func RenderViewport()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL