diff options
author | Mattes D <github@xoft.cz> | 2020-04-18 11:44:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 11:44:35 +0200 |
commit | a55f61548ef050f29aab96095b80af4c9f046281 (patch) | |
tree | 4c03607df6b5dd97af28f9748493a1bb26fd5d50 /Server/Plugins/APIDump/Classes | |
parent | Fixing washing away of redstone mechanisms (#4665) (diff) | |
download | cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar.gz cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar.bz2 cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar.lz cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar.xz cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar.zst cuberite-a55f61548ef050f29aab96095b80af4c9f046281.zip |
Diffstat (limited to 'Server/Plugins/APIDump/Classes')
-rw-r--r-- | Server/Plugins/APIDump/Classes/Geometry.lua | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/Classes/Geometry.lua b/Server/Plugins/APIDump/Classes/Geometry.lua index 6a284feda..475cab2f2 100644 --- a/Server/Plugins/APIDump/Classes/Geometry.lua +++ b/Server/Plugins/APIDump/Classes/Geometry.lua @@ -542,6 +542,11 @@ return }, }, }, + + + + + cCuboid = { Desc = [[ @@ -911,6 +916,11 @@ return }, }, }, + + + + + cLineBlockTracer = { Desc = [[ @@ -1118,6 +1128,11 @@ end }, }, }, + + + + + Vector3d = { Desc = [[ @@ -1208,6 +1223,16 @@ end }, Notes = "Returns a copy of the vector, moved by the specified offset on the Z axis", }, + Ceil = + { + Returns = + { + { + Type = "Vector3i", + }, + }, + Notes = "Returns a new {{Vector3i}} object with coords set to math.ceil of this vector's coords.", + }, Clamp = { Params = @@ -1683,6 +1708,11 @@ end }, }, }, + + + + + Vector3f = { Desc = [[ @@ -1773,6 +1803,16 @@ end }, Notes = "Returns a copy of the vector, moved by the specified offset on the Z axis", }, + Ceil = + { + Returns = + { + { + Type = "Vector3i", + }, + }, + Notes = "Returns a new {{Vector3i}} object with coords set to math.ceil of this vector's coords.", + }, Clamp = { Params = @@ -2280,6 +2320,11 @@ end }, }, }, + + + + + Vector3i = { Desc = [[ @@ -2370,6 +2415,16 @@ end }, Notes = "Returns a copy of the vector, moved by the specified offset on the Z axis", }, + Ceil = + { + Returns = + { + { + Type = "Vector3i", + }, + }, + Notes = "Returns a new {{Vector3i}} object with coords set to math.ceil of this vector's coords. Normally not too useful with integer-only vectors, but still included for API completeness.", + }, Clamp = { Params = |