diff options
Diffstat (limited to 'Server/Plugins/APIDump')
-rw-r--r-- | Server/Plugins/APIDump/Classes/Geometry.lua | 96 |
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.", |