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

commonMain.earth.worldwind.draw.DrawableLambda.kt Maven / Gradle / Ivy

Go to download

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