From a55f61548ef050f29aab96095b80af4c9f046281 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sat, 18 Apr 2020 11:44:35 +0200 Subject: Extended Vector3 (#4666) --- Server/Plugins/APIDump/Classes/Geometry.lua | 55 +++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) (limited to 'Server/Plugins/APIDump/Classes/Geometry.lua') 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 = -- cgit v1.2.3