Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector3.DistanceSquared

Malware edited this page Dec 13, 2025 · 19 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

IndexNamespace IndexVector3

Summary

public static float DistanceSquared(Vector3 value1, Vector3 value2)

Calculates the distance between two vectors squared.

Returns

float

Parameters

Summary

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

Calculates the distance between two vectors squared.

Parameters

Clone this wiki locally