Vec

interface Vec

A common interface for vector implementations.

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
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.
toString
Link copied to clipboard
common
open fun toString(): String

Inheritors

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