Vec

interface Vec

A common interface for vector implementations.

Functions

toFloatArray
Link copied to clipboard
common
abstract fun toFloatArray(): FloatArray
Returns an array of coordinates of this vector.
toList
Link copied to clipboard
common
abstract fun toList(): List<Float>
Returns a list of coordinates of this vector.

Inheritors

Vec2
Link copied to clipboard
Vec3
Link copied to clipboard
Vec4
Link copied to clipboard