commonMain.earth.worldwind.draw.DrawableLambda.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of worldwind-jvm Show documentation
Show all versions of worldwind-jvm Show documentation
The WorldWind Kotlin SDK (WWK) includes the library, examples and tutorials for building multiplatform 3D virtual globe applications for Android, Web and Java.
The newest version!
package earth.worldwind.draw
open class DrawableLambda(protected val lambda: (dc: DrawContext) -> Unit): Drawable {
override fun recycle() { }
/**
* Performs the actual rendering in OpenGL.
*
* @param dc The current draw context.
*/
override fun draw(dc: DrawContext) = lambda(dc)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy