ggutil

package
v0.0.0-...-82c7909 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrthographicCameraBounds

type OrthographicCameraBounds struct {
	Left, Right, Bottom, Top float32
}

func (*OrthographicCameraBounds) Height

func (bounds *OrthographicCameraBounds) Height() float32

func (*OrthographicCameraBounds) Width

func (bounds *OrthographicCameraBounds) Width() float32

type OrthographicCameraController

type OrthographicCameraController struct {
	// contains filtered or unexported fields
}

func NewOrthographicCameraController

func NewOrthographicCameraController(aspectRatio float32, rotation bool) *OrthographicCameraController

func (*OrthographicCameraController) Bounds

func (*OrthographicCameraController) GetCamera

func (*OrthographicCameraController) OnEvent

func (controller *OrthographicCameraController) OnEvent(event ggevent.Event)

func (*OrthographicCameraController) OnUpdate

func (controller *OrthographicCameraController) OnUpdate(ts ggcore.Timestep)

Jump to

Keyboard shortcuts

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