linearly v0.32.0Docs


linearly v0.32.0 / vec2 / unitX

Variable: unitX

const unitX: vec2

An unit vector pointing toward positiove X. Same as [1, 0]

Defined in

src/vec2.ts:54open in new window