Tetra v0.4.2 Release Notes

Release Date: 2020-08-14 // over 3 years ago
  • ➕ Added

    • A visible_rect method has been added to Camera, which calculates the area of the screen that is currently visible. (@VictorKoenders in #201)

    🔄 Changed

    • 📚 Various improvements have been made to the documentation.
    • ⚡️ Camera::project and Camera::unproject no longer require Camera::update to be called to give correct results.
      • This is for consistency with the new visible_rect method.
    • Textures now use CLAMP_TO_EDGE wrapping, to avoid some sampling issues when drawing at non-integer co-ordinates.
      • In the future, it may be made possible to select other wrapping modes.
    • ⚡️ Updated bytemuck to 1.3.

    🛠 Fixed

    • ⚡️ The matrix created by a Camera now correctly reflects the viewport width and height before the first update.