Siddhanta Parity API Documentation - v1.3.0
    Preparing search index...
    • Calculates the angle in degrees between two vectors.

      Given a pair of vectors, this function returns the angle in degrees between the two vectors in 3D space. The angle is measured in the plane that contains both vectors.

      Parameters

      • a: Vector

        The first of a pair of vectors between which to measure an angle.

      • b: Vector

        The second of a pair of vectors between which to measure an angle.

      Returns number

      The angle between the two vectors expressed in degrees. The value is in the range [0, 180].