commonMain.de.fabmax.kool.physics.Shape.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.math.Mat4f
import de.fabmax.kool.physics.geometry.CollisionGeometry
@Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING")
expect class ShapeHolder
class Shape(
val geometry: CollisionGeometry,
val material: Material = Physics.defaultMaterial,
localPose: Mat4f = Mat4f.IDENTITY,
val simFilterData: FilterData? = null,
val queryFilterData: FilterData? = null
) {
val localPose: Mat4f = Mat4f(localPose)
internal var holder: ShapeHolder? = null
}