linearly v0.32.0Docs


linearly v0.32.0 / vec3 / angle

Function: angle()

angle(a, b): number

Get the angle between two 3D vectors

Parameters

a: vec3

The first operand

b: vec3

The second operand

Returns

number

The angle in degrees

Defined in

src/vec3.ts:798open in new window