System::vmag2

From RAGE Multiplayer Wiki
Revision as of 21:32, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Calculates the magnitude of a vector but does not perform Sqrt operations. (Its way faster)

Syntax

mp.game.system.vmag2(p0, p1, p2);

Required Arguments

  • p0: float
  • p1: float
  • p2: float

Return value

  • float

Example

// todo

See also

Template:System s function c