Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Condiviso Solo bleeding edge

Vector2D.DistanceSquared

Return the squared distance of 2 vectors

Non ancora tradotto

Sintassi

Lua
my_vector2_d:DistanceSquared(other)

Parametri

Nome Tipo Predefinito Descrizione
other Vector2D The vector to get the squared distance to

Valore restituito

  • number The squared distance between the vectors