radiansBetweenVectorsXYZ MethodStatic

Returns the angle between two vectors, with the vectors given as xyz components

  • The returned angle is between 0 and PI

radiansBetweenVectorsXYZ(ux: number, uy: number, uz: number, vx: number, vy: number, vz: number): number

Parameter Type Description
ux number x component of vector u
uy number y component of vector u
uz number z component of vector u
vx number x component of vector v
vy number y component of vector v
vz number z component of vector v

Returns - number

Defined in

Last Updated: 23 November, 2024