components

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticCamera

type StaticCamera struct {
}

StaticCamera is a fixed camera that does not move or effect positions. Useful for demos or user interface rendering.

func (*StaticCamera) Clean

func (m *StaticCamera) Clean()

func (*StaticCamera) IsDirty

func (m *StaticCamera) IsDirty() bool

func (*StaticCamera) IsInView

func (m *StaticCamera) IsInView(x, y, width, height float64) bool

func (*StaticCamera) ScreenToWorld

func (m *StaticCamera) ScreenToWorld(x, y float64) (float64, float64)

func (*StaticCamera) WorldToScreen

func (m *StaticCamera) WorldToScreen(geom ebiten.GeoM) ebiten.GeoM

Jump to

Keyboard shortcuts

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