Companion

object Companion

Functions

Link copied to clipboard

Returns an interpolator value of the linearly interpolated vector t between a and b vectors.

Link copied to clipboard

Returns a component-wise linearly interpolated vector between a and b vectors.

inline fun lerp(a: Vector2F, b: Vector2F, t: Float): Vector2F

Returns a linearly interpolated vector between a and b vectors.

Link copied to clipboard
inline fun max(a: Vector2F, b: Vector2F): Vector2F

Returns a vector that is made from the largest components of two vectors.

Link copied to clipboard
inline fun min(a: Vector2F, b: Vector2F): Vector2F

Returns a vector that is made from the smallest components of two vectors.

Properties

Link copied to clipboard

Value of (-∞, -∞)

Link copied to clipboard

Value of (1, 1)

Link copied to clipboard

Value of (∞, ∞)

Link copied to clipboard
const val SIZE_BITS: Int = 64

The number of bits used to represent an instance of Vector2F in a binary form.

Link copied to clipboard
const val SIZE_BYTES: Int = 8

The number of bytes used to represent an instance of Vector2F in a binary form.

Link copied to clipboard

Value of (0, 0)