Files
Commonwealth-Online-Public/plugin/lib/commonlibf4/include/RE/H/hknpSphereShape.h
T
2026-05-30 18:33:24 +12:00

23 lines
596 B
C++

#pragma once
#include "RE/H/hknpConvexShape.h"
namespace RE
{
class __declspec(novtable) hknpSphereShape :
public hknpConvexShape
{
public:
static constexpr auto RTTI{ RTTI::hknpSphereShape };
static constexpr auto VTABLE{ VTABLE::hknpSphereShape };
static hknpSphereShape* CreateSphereShape(const hkVector4f& a_center, float a_radius)
{
using func_t = decltype(&hknpSphereShape::CreateSphereShape);
static REL::Relocation<func_t> func{ ID::hknpSphereShape::CreateSphereShape };
return func(a_center, a_radius);
}
};
static_assert(sizeof(hknpSphereShape) == 0x40);
}