Versions in this module Expand all Collapse all v1 v1.1.0 Mar 8, 2018 Changes in this version + type LimitedCamera struct + func NewLimited(minZoom, maxZoom float32, minPos, maxPos float32) *LimitedCamera + func (cam *LimitedCamera) MoveBy(dx, dy float32) + func (cam *LimitedCamera) MoveTo(worldX, worldY float32) + func (cam *LimitedCamera) SetViewportSize(width, height float32) + func (cam *LimitedCamera) ViewMatrix() *mgl.Mat4 + func (cam *LimitedCamera) ZoomAt(levelDelta float32, x, y float32) + type Viewer interface + ViewMatrix func() *mgl.Mat4