Skip to content

kotlin-graphics/kool

Repository files navigation

kool

Build Status license Release Size Github All Releases

Small util library featuring:

  • functional programming for IntBuffers
  • short buffer and CustomBuffer plain parameters (adr, pos, cap, rem, remSize, lim)
  • buffers set operators
  • convenient conversions buffers <-> arrays
  • dummy buffer constructors: (size: Int) and (size: Int, init: (Int) -> *)
  • convenient MemoryStack extensions (like lambdas retrieving primitives via native memory)
  • inline classes of primitive pointers
  • Stack getters and setters
  • other minor utils

How to retrieve it:

mary

repositories {
    maven("https://raw.githubusercontent.com/kotlin-graphics/mary/master")
    // or with magik plugin
    //github("kotlin-graphics/mary")
}
dependencies {
    implementation("kotlin.graphics:kool:0.9.79")
}

maven central

dependencies {
    implementation("io.github.kotlin-graphics:kool:0.9.79")
}

You can find more info by mary