summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Classes
diff options
context:
space:
mode:
Diffstat (limited to 'Server/Plugins/APIDump/Classes')
-rw-r--r--Server/Plugins/APIDump/Classes/Geometry.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/Classes/Geometry.lua b/Server/Plugins/APIDump/Classes/Geometry.lua
index e086d23fa..def786685 100644
--- a/Server/Plugins/APIDump/Classes/Geometry.lua
+++ b/Server/Plugins/APIDump/Classes/Geometry.lua
@@ -581,6 +581,28 @@ return
Notes = "Assigns all the coords to the specified values. Sort-state is ignored.",
},
},
+ Clamp =
+ {
+ Params =
+ {
+ {
+ Name = "Limits",
+ Type = "cCuboid",
+ },
+ },
+ Notes = "Clamps this cuboid, so that it doesn't reach outside of Limits in any direction. Assumes both cuboids are sorted.",
+ },
+ ClampSize =
+ {
+ Params =
+ {
+ {
+ Name = "MaxSize",
+ Type = "Vector3i",
+ },
+ },
+ Notes = "Clamps this cuboid's p2 so that the cuboid's size doesn't exceed the specified max size. Assumes the cuboid is sorted.",
+ },
ClampX =
{
Params =