Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33321d1
commit 8bae03a
Showing
1 changed file
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |