jakke-graphics-ts
    Preparing search index...

    Function isParallel

    • Determines whether two 3D vectors are parallel within a specified tolerance.

      The function normalizes both input vectors, computes their dot product, and checks if the absolute value of the dot product is close to 1, indicating parallelism (either in the same or opposite direction).

      Parameters

      Returns boolean

      true if the vectors are parallel within the tolerance; otherwise, false.