summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/Classes/Geometry.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-15 07:50:39 +0100
committermadmaxoft <github@xoft.cz>2014-03-15 07:50:39 +0100
commit0442c41c872badfcc1a7a22c293161cc752623b8 (patch)
treed0096cb432487c5edb6839a99266b6dc45ecb3a9 /MCServer/Plugins/APIDump/Classes/Geometry.lua
parentIgnoring all config and SQLite files in the output folder. (diff)
downloadcuberite-0442c41c872badfcc1a7a22c293161cc752623b8.tar
cuberite-0442c41c872badfcc1a7a22c293161cc752623b8.tar.gz
cuberite-0442c41c872badfcc1a7a22c293161cc752623b8.tar.bz2
cuberite-0442c41c872badfcc1a7a22c293161cc752623b8.tar.lz
cuberite-0442c41c872badfcc1a7a22c293161cc752623b8.tar.xz
cuberite-0442c41c872badfcc1a7a22c293161cc752623b8.tar.zst
cuberite-0442c41c872badfcc1a7a22c293161cc752623b8.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/Classes/Geometry.lua')
-rw-r--r--MCServer/Plugins/APIDump/Classes/Geometry.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/MCServer/Plugins/APIDump/Classes/Geometry.lua b/MCServer/Plugins/APIDump/Classes/Geometry.lua
index 6f95c4cbf..78cd94f0c 100644
--- a/MCServer/Plugins/APIDump/Classes/Geometry.lua
+++ b/MCServer/Plugins/APIDump/Classes/Geometry.lua
@@ -63,12 +63,16 @@ return
{
constructor =
{
- { Params = "OtheCuboid", Return = "cCuboid", Notes = "Creates a new Cuboid object as a copy of OtherCuboid" },
+ { Params = "OtherCuboid", Return = "cCuboid", Notes = "Creates a new Cuboid object as a copy of OtherCuboid" },
{ Params = "{{Vector3i|Point1}}, {{Vector3i|Point2}}", Return = "cCuboid", Notes = "Creates a new Cuboid object with the specified points as its corners." },
{ Params = "X, Y, Z", Return = "cCuboid", Notes = "Creates a new Cuboid object with the specified point as both its corners (the cuboid has a size of 1 in each direction)." },
{ Params = "X1, Y1, Z1, X2, Y2, Z2", Return = "cCuboid", Notes = "Creates a new Cuboid object with the specified points as its corners." },
},
- Assign = { Params = "X1, Y1, Z1, X2, Y2, Z2", Return = "", Notes = "Assigns all the coords stored in the cuboid. Sort-state is ignored." },
+ Assign =
+ {
+ { Params = "SrcCuboid", Return = "", Notes = "Copies all the coords from the src cuboid to this cuboid. Sort-state is ignored." },
+ { Params = "X1, Y1, Z1, X2, Y2, Z2", Return = "", Notes = "Assigns all the coords to the specified values. Sort-state is ignored." },
+ },
ClampX = { Params = "MinX, MaxX", Return = "", Notes = "Clamps both X coords into the range provided. Sortedness-agnostic." },
ClampY = { Params = "MinY, MaxY", Return = "", Notes = "Clamps both Y coords into the range provided. Sortedness-agnostic." },
ClampZ = { Params = "MinZ, MaxZ", Return = "", Notes = "Clamps both Z coords into the range provided. Sortedness-agnostic." },