All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.de.fabmax.kool.physics.Material.kt Maven / Gradle / Ivy

There is a newer version: 0.15.1
Show newest version
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()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy