commonMain.de.fabmax.kool.physics.Material.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kool-physics Show documentation
Show all versions of kool-physics Show documentation
A multiplatform OpenGL / Vulkan graphics engine written in kotlin
package de.fabmax.kool.physics
import de.fabmax.kool.util.Releasable
expect fun Material(staticFriction: Float, dynamicFriction: Float = staticFriction, restitution: Float = 0.2f): Material
interface Material : Releasable {
val staticFriction: Float
val dynamicFriction: Float
val restitution: Float
override fun release()
}