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