vertex

inline fun vertex(block: VertexView.() -> Unit): Int

Add a vertex to the geometry.


fun vertex(pos: Vec3f, nrm: Vec3f, uv: Vec2f = Vec2f.ZERO): Int

Sets the vertex directly to the geometry.