MCPcopy Create free account
hub / github.com/MelonFunction/ebiten-camera / GetTranslation

Method GetTranslation

camera.go:92–97  ·  view source on GitHub ↗

GetTranslation alters the provided *ebiten.DrawImageOptions' translation based on the given x,y offset and the camera's position

(ops *ebiten.DrawImageOptions, x, y float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

DrawMethod · 0.80
DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected