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

commonMain.earth.worldwind.draw.DrawableTerrain.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

import earth.worldwind.geom.Sector
import earth.worldwind.geom.Vec3
import earth.worldwind.globe.Globe

interface DrawableTerrain: Drawable {
    val offset: Globe.Offset
    val sector: Sector
    val vertexOrigin: Vec3
    fun useVertexPointAttrib(dc: DrawContext, attribLocation: Int): Boolean
    fun useVertexHeightsAttrib(dc: DrawContext, attribLocation: Int): Boolean
    fun useVertexTexCoordAttrib(dc: DrawContext, attribLocation: Int): Boolean
    fun drawLines(dc: DrawContext): Boolean
    fun drawTriangles(dc: DrawContext): Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy