System::vmag2

From RAGE Multiplayer Wiki
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