glimpse-core
/
graphics.glimpse.types
/
Vec
common
Vec
interface
Vec
Content copied to clipboard
A common interface for vector implementations.
Functions
Inheritors
Functions
equals
Link copied to clipboard
common
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
common
open fun
hashCode
():
Int
Content copied to clipboard
toFloatArray
Link copied to clipboard
common
abstract fun
toFloatArray
():
FloatArray
Content copied to clipboard
Returns an array of coordinates of this vector.
toList
Link copied to clipboard
common
abstract fun
toList
():
List
<
Float
>
Content copied to clipboard
Returns a list of coordinates of this vector.
toString
Link copied to clipboard
common
open fun
toString
():
String
Content copied to clipboard
Inheritors
Vec2
Link copied to clipboard
Vec3
Link copied to clipboard
Vec4
Link copied to clipboard