Chalkboard - v3.0.1
    Preparing search index...

    Function isNormalized

    • Checks if a vector is normalized (has a magnitude of one).

      Parameters

      Returns boolean

      // Returns true (the vector has magnitude 1)
      const normalized = Chalkboard.vect.isNormalized(Chalkboard.vect.init(0.6, 0.8));