LeviLamina
Loading...
Searching...
No Matches
DepenetrationComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7
8// auto generated forward declare list
9// clang-format off
10class AABB;
11// clang-format on
12
14public:
15 // DepenetrationComponent inner types define
16 enum class Bit : int {
17 IsAlwaysOneWayCollision = 0,
18 WasPenetratingLastFrame = 1,
19 IsStuckInCollider = 2,
20 IsStuckItem = 3,
21 PushTowardsClosestSpace = 4,
22 Count = 5,
23 };
24
25 using Bitset = ::std::bitset<5>;
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<4, 4, ::std::bitset<5>> mBits;
31 ::ll::TypedStorage<4, 12, ::Vec3> mMinDepenetration;
32 ::ll::TypedStorage<8, 24, ::std::vector<::AABB>> mOneWayPhysicsBlocks;
33 ::ll::TypedStorage<4, 16, ::std::optional<::Vec3>> mTemporaryOverride;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCNAPI ::DepenetrationComponent& operator=(::DepenetrationComponent&&);
46 // NOLINTEND
47};
Definition AABB.h:18
Definition DepenetrationComponent.h:13
MCAPI::DepenetrationComponent & operator=(::DepenetrationComponent &&)