Skip to main content

VMAG2

Game.Vmag2Hash0x787206F8
Usage
local result = Game.Vmag2(x, y, z)

Square of vector magnitude (much less costly to compute)

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat

Returns

  • resultnumberreturn value
Original declaration
// 0x787206F8
float VMAG2(float x, float y, float z);