Files
Hogwarts_Legacy/Jusin154_Team3D/Engine/Public/Bounding.h
T
Chanbin Kim 07cfdae4c8 [fix] Light Element 인스턴스로 전환
[fix] Hogsmeade 일부 건물 LOD 로 교체
2026-01-01 18:22:50 +09:00

40 lines
771 B
C++

#pragma once
#include "Base.h"
NS_BEGIN(Engine)
class CBounding abstract : public CBase
{
public:
typedef struct tagBoundingDesc
{
_float3 vCenter;
COLLIDER eType;
}BOUNDING_DESC;
protected:
CBounding(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
virtual ~CBounding() = default;
public:
virtual void Update(_fmatrix WorldMatrix) = 0;
virtual _bool Intersect(COLLIDER eType, class CBounding* pTarget) = 0;
#ifdef _DEBUG
public:
virtual HRESULT Render(PrimitiveBatch<VertexPositionColor>* pBatch, _fvector vColor) = 0;
virtual void Set_Desc(void* pDesc)PURE;
#endif
protected:
HRESULT Initialize();
protected:
ID3D11Device* m_pDevice = { nullptr };
ID3D11DeviceContext* m_pContext = { nullptr };
public:
virtual void Free();
};
NS_END