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
10class BoundingBox;
11class Vec3;
12// clang-format on
13
14namespace ScriptModuleMinecraft {
15
17public:
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
Definition BoundingBox.h:18
Definition ScriptBoundingBoxUtils.h:16
Definition Vec3.h:10