linearly v0.32.0 • Docs
linearly v0.32.0 / vec2 / of
Function: of()
of(
x
,y
):vec2
Creates a new vector from given elements
Parameters
• x: number
• y: number
= x
linearly v0.32.0 • Docs
linearly v0.32.0 / vec2 / of
of(
x
,y
):vec2
Creates a new vector from given elements
• x: number
• y: number
= x