LeviLamina
Loading...
Searching...
No Matches
ScriptBoundingBoxUtils.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/binding_type/ClassBindingBuilder.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
BoundingBox
;
11
class
Vec3
;
12
// clang-format on
13
14
namespace
ScriptModuleMinecraft {
15
16
class
ScriptBoundingBoxUtils
{
17
public
:
18
// static functions
19
// NOLINTBEGIN
20
MCAPI static ::Scripting::ClassBindingBuilder<::ScriptModuleMinecraft::ScriptBoundingBoxUtils> bind();
21
22
MCAPI static ::BoundingBox dilate(
::BoundingBox
const
& box,
::Vec3
const
& size);
23
24
MCAPI static ::Vec3 getCenter(
::BoundingBox
const
& box);
25
26
MCAPI static ::std::optional<::BoundingBox> getIntersection(
::BoundingBox
const
& box,
::BoundingBox
const
& other);
27
28
MCAPI static ::Vec3 getSpan(
::BoundingBox
const
& box);
29
30
MCAPI static ::BoundingBox translate(
::BoundingBox
const
& box,
::Vec3
const
& delta);
31
// NOLINTEND
32
};
33
34
}
// namespace ScriptModuleMinecraft
BoundingBox
Definition
BoundingBox.h:18
ScriptModuleMinecraft::ScriptBoundingBoxUtils
Definition
ScriptBoundingBoxUtils.h:16
Vec3
Definition
Vec3.h:10
src
mc
scripting
modules
minecraft
ScriptBoundingBoxUtils.h
Generated on Sat Apr 26 2025 05:55:54 for LeviLamina by
1.12.0