linearly v0.32.0Docs


linearly v0.32.0 / vec2 / toString

Function: toString()

toString(v, fractionDigits?): string

Returns the string representation of a vec2

Parameters

v: vec2

vector to represent as a string

fractionDigits?: number

number of digits to appear after the decimal point

Returns

string

Defined in

src/vec2.ts:917open in new window