CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
hkMoppBvTreeShapeBase.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/H/hkArray.h"
4#include "RE/H/hkVector4.h"
6
7namespace RE
8{
9 class hkpMoppCode;
10 class hkTransform;
11
13 {
14 public:
15 inline static constexpr auto RTTI = RTTI_hkMoppBvTreeShapeBase;
16
17 ~hkMoppBvTreeShapeBase() override; // 00
18
19 // override (hkpBvTreeShape)
20 void CalcContentStatistics(hkStatisticsCollector* a_collector, const hkClass* a_class) const override = 0; // 02
21 void QueryAabb(const hkAabb& a_aabb, hkArray<hkpShapeKey>& a_hits) const override; // 0B
22 std::uint32_t QueryAabbImpl(const hkAabb& a_aabb, hkpShapeKey* a_hits, std::int32_t a_maxNumKeys) const override; // 0C
23
24 // add
25 virtual void QueryObb(const hkTransform& a_obbToMopp, const hkVector4& a_extent, float tolerance, hkArray<hkpShapeKey>& a_hits) const; // 0E
26
27 // members
28 const hkpMoppCode* code; // 28
29 const std::uint8_t* moppData; // 30
30 std::uint32_t moppDataSize; // 38
31 std::uint32_t pad3C; // 3C
33 };
34 static_assert(sizeof(hkMoppBvTreeShapeBase) == 0x50);
35}
Definition: hkAabb.h:8
Definition: hkArray.h:189
Definition: hkMoppBvTreeShapeBase.h:13
virtual void QueryObb(const hkTransform &a_obbToMopp, const hkVector4 &a_extent, float tolerance, hkArray< hkpShapeKey > &a_hits) const
void QueryAabb(const hkAabb &a_aabb, hkArray< hkpShapeKey > &a_hits) const override
hkVector4 codeInfoCopy
Definition: hkMoppBvTreeShapeBase.h:32
std::uint32_t pad3C
Definition: hkMoppBvTreeShapeBase.h:31
const hkpMoppCode * code
Definition: hkMoppBvTreeShapeBase.h:28
std::uint32_t QueryAabbImpl(const hkAabb &a_aabb, hkpShapeKey *a_hits, std::int32_t a_maxNumKeys) const override
std::uint32_t moppDataSize
Definition: hkMoppBvTreeShapeBase.h:30
const std::uint8_t * moppData
Definition: hkMoppBvTreeShapeBase.h:29
static constexpr auto RTTI
Definition: hkMoppBvTreeShapeBase.h:15
~hkMoppBvTreeShapeBase() override
void CalcContentStatistics(hkStatisticsCollector *a_collector, const hkClass *a_class) const override=0
Definition: hkTransform.h:9
Definition: hkVector4.h:8
Definition: hkpBvTreeShape.h:12
Definition: hkpMoppCode.h:10
Definition: AbsorbEffect.h:6
std::uint32_t hkpShapeKey
Definition: hkpShape.h:27
constexpr REL::ID RTTI_hkMoppBvTreeShapeBase
Definition: Offsets_RTTI.h:7198