summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Classes
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-08-09 03:13:15 +0200
committerGitHub <noreply@github.com>2019-08-09 03:13:15 +0200
commite7016b15259f8432e0a333a948498fb280d4d7a9 (patch)
treec762898c05633066e37ec568f0e0146dcd3ab6f5 /Server/Plugins/APIDump/Classes
parentcBoundingBox: Fix tolua warning (#4361) (diff)
downloadcuberite-e7016b15259f8432e0a333a948498fb280d4d7a9.tar
cuberite-e7016b15259f8432e0a333a948498fb280d4d7a9.tar.gz
cuberite-e7016b15259f8432e0a333a948498fb280d4d7a9.tar.bz2
cuberite-e7016b15259f8432e0a333a948498fb280d4d7a9.tar.lz
cuberite-e7016b15259f8432e0a333a948498fb280d4d7a9.tar.xz
cuberite-e7016b15259f8432e0a333a948498fb280d4d7a9.tar.zst
cuberite-e7016b15259f8432e0a333a948498fb280d4d7a9.zip
Diffstat (limited to 'Server/Plugins/APIDump/Classes')
-rw-r--r--Server/Plugins/APIDump/Classes/Geometry.lua96
1 files changed, 6 insertions, 90 deletions
diff --git a/Server/Plugins/APIDump/Classes/Geometry.lua b/Server/Plugins/APIDump/Classes/Geometry.lua
index e9280b359..e086d23fa 100644
--- a/Server/Plugins/APIDump/Classes/Geometry.lua
+++ b/Server/Plugins/APIDump/Classes/Geometry.lua
@@ -570,28 +570,12 @@ return
Params =
{
{
- Name = "X1",
- Type = "number",
- },
- {
- Name = "Y1",
- Type = "number",
- },
- {
- Name = "Z1",
- Type = "number",
- },
- {
- Name = "X2",
- Type = "number",
- },
- {
- Name = "Y2",
- Type = "number",
+ Name = "Point1",
+ Type = "Vector3i",
},
{
- Name = "Z2",
- Type = "number",
+ Name = "Point2",
+ Type = "Vector3i",
},
},
Notes = "Assigns all the coords to the specified values. Sort-state is ignored.",
@@ -713,42 +697,6 @@ return
},
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 =
- {
- {
- Name = "X1",
- Type = "number",
- },
- {
- Name = "Y1",
- Type = "number",
- },
- {
- Name = "Z1",
- Type = "number",
- },
- {
- Name = "X2",
- Type = "number",
- },
- {
- Name = "Y2",
- Type = "number",
- },
- {
- Name = "Z2",
- Type = "number",
- },
- },
- Returns =
- {
- {
- Type = "cCuboid",
- },
- },
- Notes = "Creates a new Cuboid object with the specified points as its corners.",
- },
},
DifX =
{
@@ -872,30 +820,6 @@ return
Params =
{
{
- Name = "X",
- Type = "number",
- },
- {
- Name = "Y",
- Type = "number",
- },
- {
- Name = "Z",
- Type = "number",
- },
- },
- Returns =
- {
- {
- Type = "boolean",
- },
- },
- Notes = "Returns true if the specified point (integral coords) is inside this cuboid. Assumes sorted.",
- },
- {
- Params =
- {
- {
Name = "Point",
Type = "Vector3i",
},
@@ -940,16 +864,8 @@ return
Params =
{
{
- Name = "OffsetX",
- Type = "number",
- },
- {
- Name = "OffsetY",
- Type = "number",
- },
- {
- Name = "OffsetZ",
- Type = "number",
+ Name = "Offset",
+ Type = "Vector3i",
},
},
Notes = "Adds the specified offsets to each respective coord, effectively moving the Cuboid. Sort-state is ignored and preserved.",