phaser - v4.0.0-rc.4
    Preparing search index...

    Class VectorFactory

    Index

    Constructors

    Methods

    • Returns the magnitude (length) of a vector (therefore saving a sqrt operation).

      Parameters

      Returns number

      The squared magnitude of the vector

      magnitudeSquared