v2.8.0
Full Changelog: v2.7.0...v2.8.0
[v2.8.0] Change Log
Renamed
cam.Target()
->cam.Center()
Lerp
->LerpEnabled
Fixed
- Incorrect position when use
SetSize()
. - Fix camera movement bug in example/demo.go.
Added
cam.ShakeEnabled
option- Added
BB{}
structure that returns camera bounds.cam.BB() cam.BB().ContainsPoint(-1, -5) cam.BB().Contains(kamera.NewBBForExtents(0, 0, 5, 5))