System::vdist2

From RAGE Multiplayer Wiki
Revision as of 21:32, 6 May 2017 by Marty uploader (talk | contribs) (yay)

Calculates distance between vectors but does not perform Sqrt operations. (Its way faster)

Syntax

mp.game.system.vdist2(x1, y1, z1, x2, y2, z2);

Required Arguments

  • x1: float
  • y1: float
  • z1: float
  • x2: float
  • y2: float
  • z2: float

Return value

  • float

Example

// todo

See also

Template:System s function c