getX

abstract fun getX(index: Int): Double

Returns the x component of the vector at the given index.

Return

The x component of the vector at that index.

Parameters

index

The vertex index.