An oversimplified library to work with matrices and vectors in Kotlin.
- Grab a jar from releases
- Place it in the
libs
folder 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.math
in your.kt
files!
- If you can't multiply or divide a number by a matrix, make sure to import
me.altered.math.Matrix