Skip to content
LeviMC
English
AutoLightDark
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
7class BoundingBox;
8class Vec3;
9namespace Scripting { struct ClassBinding; }
10// clang-format on
11
12namespace ScriptModuleMinecraft {
13
15public:
16 // static functions
17 // NOLINTBEGIN
18 MCNAPI static ::Scripting::ClassBinding bind();
19
20 MCNAPI static ::BoundingBox dilate(::BoundingBox const& box, ::Vec3 const& size);
21
22 MCNAPI static ::Vec3 getCenter(::BoundingBox const& box);
23
24 MCNAPI static ::Vec3 getSpan(::BoundingBox const& box);
25
26 MCNAPI static ::BoundingBox translate(::BoundingBox const& box, ::Vec3 const& delta);
27 // NOLINTEND
28};
29
30} // namespace ScriptModuleMinecraft
Definition BoundingBox.h:13
Definition ScriptBlockBoundingBoxUtils.h:14
static MCAPI ::BoundingBox translate(::BoundingBox const &box, ::Vec3 const &delta)
static MCAPI ::Vec3 getSpan(::BoundingBox const &box)
static MCAPI ::Scripting::ClassBinding bind()
static MCAPI ::Vec3 getCenter(::BoundingBox const &box)
static MCAPI ::BoundingBox dilate(::BoundingBox const &box, ::Vec3 const &size)
Definition Vec3.h:10
Definition ClassBinding.h:10