Skip to content

KTX 1.12.1-rc1

Latest
Compare
Choose a tag to compare
@czyzby czyzby released this 04 Nov 11:58

The first release to support libGDX 1.12.1.


  • [UPDATE] Updated to libGDX 1.12.1.
  • [UPDATE] Updated to Kotlin 1.9.20.
  • [UPDATE] Updated to Kotlin Coroutines 1.7.3.
  • [UPDATE] Updated to VisUI 1.5.3.
  • [UPDATE] Updated to Dokka 1.9.10.
  • [FEATURE] (ktx-math) New extension and factory functions were introduced to Vector4, offering similar utilities to the other vectors.
    • vec4 factory methods allow creating new Vector4 instances with default and named parameters.
    • +=, -=, *=, /= mutating operators are now supported.
    • +, - (including unary -), ++, --, *, / operators are now supported, returning new instances of vectors as a result.
    • Vectors are now comparable by length, adding support for <, >, <=, >= operators.
    • Vector4 instances can now be deconstructed into 4 four values (X, Y, Z, W) using extension component methods.
    • dot infix function allows calculating the dot product of 2 vectors.

Known issues:

  • (ktx-assets) Pools created via the pool factory method do not reset the discarded objects by default, which is inconsistent with the libGDX pool behavior. To replicate this, pass a discard lambda parameter calling reset on the discarded objects that implement the Poolable interface.