1
0

Extended Vector3 (#4666)

This commit is contained in:
Mattes D
2020-04-18 11:44:35 +02:00
committed by GitHub
parent 3591be50b2
commit a55f61548e
4 changed files with 129 additions and 28 deletions

View File

@@ -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 =