Versions in this module Expand all Collapse all v1 v1.0.0 Mar 13, 2024 Changes in this version + type FreeCamera struct + func NewFreeCamera(winW, winH float64, worldW, worldH float64) *FreeCamera + func (c *FreeCamera) CameraCenter() *math32.Vector2 + func (c *FreeCamera) GetPos() *math32.Vector2 + func (c *FreeCamera) IsWorldRange(pos *math32.Vector2) bool + func (c *FreeCamera) Move(x, y float64) + func (c *FreeCamera) MoveTo(x, y float64) + func (c *FreeCamera) Render(world, screen *ebiten.Image) error + func (c *FreeCamera) Reset() + func (c *FreeCamera) Rotate(theta float64) + func (c *FreeCamera) ScreenToWorld(point *math32.Vector2) *math32.Vector2 + func (c *FreeCamera) SetViewPort(width, height float64) + func (c *FreeCamera) String() string + func (c *FreeCamera) WorldToScreen(point *math32.Vector2) *math32.Vector2 + func (c *FreeCamera) Zoom(m float64)