orientedRadiansBetweenVectorsXYZ MethodStatic
Returns the angle between two vectors, with the vectors given as xyz components, and an up vector to resolve angle to a full 2PI range.
- The returned angle is (-PI < radians <= PI) or (0 <= radians < 2 * PI)
- The angle is in the plane of the U and V vectors.
- The upVector determines a positive side of the plane but need not be strictly perpendicular to the plane.
orientedRadiansBetweenVectorsXYZ(ux: number, uy: number, uz: number, vx: number, vy: number, vz: number, upVectorX: number, upVectorY: number, upVectorZ: number, adjustToPositive: booleanfalse): number
Returns - number
Defined in
- geometry3d/Angle.ts Line 515
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.