Gamedev math library for Kotlin?

Hello. I’ve been looking around and can’t find anything. Are there any game development specific math libraries for Kotlin? Think stuff like vectors, matrices, quaternions, but also gamedev specific maths such as perspective and orthographic projection matrices?

There is a number of those libraries in JVM (for example see Geometry – Commons Geometry). But if you want something kotlin-first and/or multiplatform, you can request features in KMath. We have linear algebra and quaternions, but no projections yet. We can add them if you put an issue.

1 Like