linearly v0.32.0Docs


linearly v0.32.0 / vec2 / sin

Function: sin()

sin(deg): vec2

Returns the sine of a number.

Parameters

deg: vec2

A angle in degrees

Returns

vec2

Defined in

src/vec2.ts:732open in new window