Maths · function

angleDelta

Signed shortest angular distance from a to b, in (-π, π].

Explained in Coordinates and units.

function angleDelta(a: number, b: number): number
import { angleDelta } from '@driftengine/core';

Parameters

ParameterTypeDescription
anumber
bnumber