MutableVertexList

class MutableVertexList(initialVertexCapacity: Int = 0) : VertexList

Constructors

Link copied to clipboard
constructor(initialVertexCapacity: Int = 0)

Properties

Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
Link copied to clipboard
fun addAll(vertices: Iterable<Vec3>): MutableVertexList
inline fun <T> addAll(vertices: Iterable<T>, vertexMapper: (T) -> Vec3): MutableVertexList
Link copied to clipboard
fun addAllRelative(vertices: Iterable<Vec3>, origin: Vec3): MutableVertexList
inline fun <T> addAllRelative(vertices: Iterable<T>, origin: Vec3, vertexMapper: (T) -> Vec3): MutableVertexList
Link copied to clipboard
fun addAllRelativeToCamera(vertices: Iterable<Vec3>, camera: Camera): MutableVertexList
inline fun <T> addAllRelativeToCamera(vertices: Iterable<T>, camera: Camera, vertexMapper: (T) -> Vec3): MutableVertexList
Link copied to clipboard
fun addRelative(vec: Vec3, origin: Vec3): MutableVertexList
Link copied to clipboard
fun addRelativeToCamera(vec: Vec3, camera: Camera): MutableVertexList
Link copied to clipboard
inline fun VertexList.forEachVertex(action: (x: Float, y: Float, z: Float) -> Unit)
Link copied to clipboard
Link copied to clipboard
open fun vec(index: Int, dest: Vector3f = Vector3f()): Vector3f
Link copied to clipboard
open override fun x(index: Int): Float
Link copied to clipboard
open override fun y(index: Int): Float
Link copied to clipboard
open override fun z(index: Int): Float