diff options
author | Mattes D <github@xoft.cz> | 2016-06-12 07:57:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-12 07:57:47 +0200 |
commit | b403ad4d68eb1e730d5b514d3bfceea0de932bfa (patch) | |
tree | 2c332eef23ae5eb816d08786fb2f87535b289ca5 /Server/Plugins/APIDump/Classes/Geometry.lua | |
parent | Merge pull request #3225 from cuberite/FixAutoAPI (diff) | |
parent | Normalized Vector3 API to use the same capitalization as all else. (diff) | |
download | cuberite-b403ad4d68eb1e730d5b514d3bfceea0de932bfa.tar cuberite-b403ad4d68eb1e730d5b514d3bfceea0de932bfa.tar.gz cuberite-b403ad4d68eb1e730d5b514d3bfceea0de932bfa.tar.bz2 cuberite-b403ad4d68eb1e730d5b514d3bfceea0de932bfa.tar.lz cuberite-b403ad4d68eb1e730d5b514d3bfceea0de932bfa.tar.xz cuberite-b403ad4d68eb1e730d5b514d3bfceea0de932bfa.tar.zst cuberite-b403ad4d68eb1e730d5b514d3bfceea0de932bfa.zip |
Diffstat (limited to '')
-rw-r--r-- | Server/Plugins/APIDump/Classes/Geometry.lua | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/Classes/Geometry.lua b/Server/Plugins/APIDump/Classes/Geometry.lua index 8f2f76849..e068e227f 100644 --- a/Server/Plugins/APIDump/Classes/Geometry.lua +++ b/Server/Plugins/APIDump/Classes/Geometry.lua @@ -242,6 +242,10 @@ end operator_mul = { Params = "number", Return = "Vector3d", Notes = "Returns a new Vector3d with each coord multiplied." }, operator_sub = { Params = "Vector3d", Return = "Vector3d", Notes = "Returns a new Vector3d containing the difference between this object and the specified vector." }, operator_plus = {Params = "Vector3d", Return = "Vector3d", Notes = "Returns a new Vector3d containing the sum of this vector and the specified vector" }, + abs = { Params = "", Return = "", Notes = "<b>OBSOLETE</b>, use Abs() instead." }, + clamp = { Params = "min, max", Return = "", Notes = "<b>OBSOLETE</b>, use Clamp() instead." }, + Abs = { Params = "", Return = "", Notes = "Updates each coord to its absolute value." }, + Clamp = { Params = "min, max", Return = "", Notes = "Clamps each coord into the specified range." }, Cross = { Params = "Vector3d", Return = "Vector3d", Notes = "Returns a new Vector3d that is a {{http://en.wikipedia.org/wiki/Cross_product|cross product}} of this vector and the specified vector." }, Dot = { Params = "Vector3d", Return = "number", Notes = "Returns the dot product of this vector and the specified vector." }, Equals = { Params = "Vector3d", Return = "bool", Notes = "Returns true if this vector is exactly equal to the specified vector." }, @@ -292,6 +296,10 @@ end }, operator_plus = { Params = "Vector3f", Return = "Vector3f", Notes = "Returns a new Vector3f object that holds the vector sum of this vector and the specified vector." }, operator_sub = { Params = "Vector3f", Return = "Vector3f", Notes = "Returns a new Vector3f object that holds the vector differrence between this vector and the specified vector." }, + abs = { Params = "", Return = "", Notes = "<b>OBSOLETE</b>, use Abs() instead." }, + clamp = { Params = "min, max", Return = "", Notes = "<b>OBSOLETE</b>, use Clamp() instead." }, + Abs = { Params = "", Return = "", Notes = "Updates each coord to its absolute value." }, + Clamp = { Params = "min, max", Return = "", Notes = "Clamps each coord into the specified range." }, Cross = { Params = "Vector3f", Return = "Vector3f", Notes = "Returns a new Vector3f object that holds the cross product of this vector and the specified vector." }, Dot = { Params = "Vector3f", Return = "number", Notes = "Returns the dot product of this vector and the specified vector." }, Equals = { Params = "Vector3f", Return = "bool", Notes = "Returns true if the specified vector is exactly equal to this vector." }, @@ -325,9 +333,15 @@ end { Params = "x, y, z", Return = "Vector3i", Notes = "Creates a new Vector3i object with the specified coords." }, { Params = "{{Vector3d}}", Return = "Vector3i", Notes = "Creates a new Vector3i object with coords copied and floor()-ed from the specified {{Vector3d}}." }, }, + abs = { Params = "", Return = "", Notes = "<b>OBSOLETE</b>, use Abs() instead." }, + clamp = { Params = "min, max", Return = "", Notes = "<b>OBSOLETE</b>, use Clamp() instead." }, + Abs = { Params = "", Return = "", Notes = "Updates each coord to its absolute value." }, + Clamp = { Params = "min, max", Return = "", Notes = "Clamps each coord into the specified range." }, + Cross = { Params = "Vector3d", Return = "Vector3d", Notes = "Returns a new Vector3d that is a {{http://en.wikipedia.org/wiki/Cross_product|cross product}} of this vector and the specified vector." }, + Dot = { Params = "Vector3d", Return = "number", Notes = "Returns the dot product of this vector and the specified vector." }, Equals = { Params = "Vector3i", Return = "bool", Notes = "Returns true if this vector is exactly the same as the specified vector." }, Length = { Params = "", Return = "number", Notes = "Returns the (euclidean) length of this vector." }, - Move = { Params = "X, Y, Z", Return = "", Notes = "Moves the vector by the specified amount in each axis direction." }, + Move = { Params = "x, y, z", Return = "", Notes = "Moves the vector by the specified amount in each axis direction." }, Set = { Params = "x, y, z", Return = "", Notes = "Sets all the coords of the vector at once" }, SqrLength = { Params = "", Return = "number", Notes = "Returns the (euclidean) length of this vector, squared. This operation is slightly less computationally expensive than Length(), while it conserves some properties of Length(), such as comparison." }, }, |