Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector2.DistanceSquared

Morten Aune Lyrstad edited this page Oct 10, 2019 · 18 revisions

IndexNamespace IndexVector2

Summary

public static float DistanceSquared(Vector2 value1, Vector2 value2)

Calculates the distance between two vectors squared.

Returns

float

Parameters

Summary

public static void DistanceSquared(ref Vector2 value1, ref Vector2 value2, out float result)

Calculates the distance between two vectors squared.

Parameters

Clone this wiki locally