Android代码 kotlin math
kotlin-math Set of Kotlin APIs to make graphics math easier to write. These APIs are mostly modeled after GLSL (OpenGL Shading Language) to make porting code to and from shaders easier. The various types offered by this library are only meant to be value types. Most APIs are therefore exposed as top-level functions and not as methods. For instance: val v = Float3(1.0f, 3.0f, 4.0f) val n = normalize(v) Building the project Simply run the following command to generate build/libs/kotlin-math.jar: $
用户评论