An oversimplified library to work with matrices and vectors in Kotlin.
- Grab a jar from releases
- Place it in the
libsfolder in the project root - Go to
build.gradle/build.gradle.kts:
build.gradle:
dependencies {
implementation file("libs/math.main.jar")
}build.gradle.kts:
dependencies {
implementation(file("libs/math.main.jar"))
}- Import
me.altered.mathin your.ktfiles!
- If you can't multiply or divide a number by a matrix, make sure to import
me.altered.math.Matrix