Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
projecteon committed Sep 16, 2022
1 parent 33321d1 commit 8bae03a
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions datatype/_math.lua
@@ -1,16 +1,21 @@
--- @class math
--- @field public Abs MQFloat The absolute value of the result of n
--- @field public Acos MQFloat Arccosine of n (in degrees)
--- @field public Asin MQFloat Arcsine of n (in degrees)
--- @field public Atan MQFloat Arctangent of n (in degrees)
--- @field public Abs fun(number: number): MQFloat The absolute value of the result of n
--- @field public Acos fun(degrees: number): MQFloat Arccosine of n (in degrees)
--- @field public Asin fun(degrees: number): MQFloat Arcsine of n (in degrees)
--- @field public Atan fun(degrees: number): MQFloat Arctangent of n (in degrees)
--- @field public Calc MQFloat Performs a mathematical calculation n
--- @field public Cos MQFloat Cosine of n (in degrees)
--- @field public Cos fun(degrees: number): MQFloat Cosine of n (in degrees)
--- @field public Dec number Decimal value of a hexidecimal string
--- @field public Distance MQFloat Calculates the distance between two points on the map1, 2, or 3 dimensions may be providedDefaults to your character's current location
--- @field public Hex string Returns hexidecimal value of int n
--- @field public Not number Bitwise complement of n
--- @field public Rand number Random integer. Rand[5] range 0 to 4. Rand[100,200] range 100 to 199
--- @field public Sin MQFloat Sine of n (in degrees)
--- @field public Sin fun(degrees: number): MQFloat Sine of n (in degrees)
--- @field public Sqrt MQFloat Square root of n
--- @field public Tan MQFloat Tangent of n (in degrees)
--- @field public ToString string NULL
--- @field public Tan fun(degrees: number): MQFloat Tangent of n (in degrees)
--- @field public ToString string NULL
local math = nil

---Calculates the distance between two points on the map1, 2, or 3 dimensions may be providedDefaults to your character's current location
---@param coordinates? string # Format [**y,x,z:y,x,z]
---@return MQFloat
function math.Distance(coordinates) end

0 comments on commit 8bae03a

Please sign in to comment.