Search Results for

    Show / Hide Table of Contents

    Method DistanceToSquared

    DistanceToSquared(Vector2)

    Calculates the squared distance between two vectors.

    Declaration
    public float DistanceToSquared(Vector2 position)
    Parameters
    Type Name Description
    Vector2 position

    The second vector to calculate the squared distance to.

    Returns
    Type Description
    System.Single

    The squared distance to the other vector.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX