LeviLamina
Loading...
Searching...
No Matches
ScriptBlockBoundingBoxUtils.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
BoundingBox
;
8
class
Vec3
;
9
namespace
Scripting {
struct
ClassBinding
; }
10
// clang-format on
11
12
namespace
ScriptModuleMinecraft {
13
14
class
ScriptBlockBoundingBoxUtils
{
15
public
:
16
// static functions
17
// NOLINTBEGIN
18
MCAPI static ::Scripting::ClassBinding bind();
19
20
MCAPI static ::BoundingBox createValid(
::Vec3
const
& min,
::Vec3
max);
21
22
MCAPI static ::BoundingBox dilate(
::BoundingBox
const
& box,
::Vec3
const
& size);
23
24
MCAPI static ::BoundingBox expand(
::BoundingBox
const
& box,
::BoundingBox
const
& other);
25
26
MCAPI static ::Vec3 getCenter(
::BoundingBox
const
& box);
27
28
MCAPI static ::std::optional<::BoundingBox> getIntersection(
::BoundingBox
const
& box,
::BoundingBox
const
& other);
29
30
MCAPI static ::Vec3 getSpan(
::BoundingBox
const
& box);
31
32
MCAPI
static
bool
intersects(
::BoundingBox
const
& box,
::BoundingBox
const
& other);
33
34
MCAPI
static
bool
isInside(
::BoundingBox
const
& box,
::Vec3
const
& pos);
35
36
MCAPI static ::BoundingBox translate(
::BoundingBox
const
& box,
::Vec3
const
& delta);
37
// NOLINTEND
38
};
39
40
}
// namespace ScriptModuleMinecraft
BoundingBox
Definition
BoundingBox.h:13
ScriptModuleMinecraft::ScriptBlockBoundingBoxUtils
Definition
ScriptBlockBoundingBoxUtils.h:14
Vec3
Definition
Vec3.h:10
Scripting::ClassBinding
Definition
ClassBinding.h:19
src
mc
scripting
modules
minecraft
ScriptBlockBoundingBoxUtils.h
Generated on
for LeviLamina by
1.16.1