Skip to content

v2.8.0

Compare
Choose a tag to compare
@setanarut setanarut released this 03 Nov 01:14

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))