Vectors

Vector<T = number>

Type representing a vector. it is defined as

export interface Vector<T = number> {
  x: T;
  y: T;
}

useVector()

Returns a vector of shared values.

Last updated