[add] RenderCollider 릴리즈모드
[add] RenderRenderTarget 릴리즈모드
This commit is contained in:
@@ -16,10 +16,12 @@ CCharacter_Controller::CCharacter_Controller(const CCharacter_Controller& rhs)
|
||||
{
|
||||
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
HRESULT CCharacter_Controller::Render()
|
||||
{
|
||||
if (m_pGameInstance->IsRenderCollider()) {
|
||||
return S_OK;
|
||||
}
|
||||
_vector vPos = Get_Position();
|
||||
_float3 vVolume = Get_Volume();
|
||||
_matrix WorldMatrix = XMMatrixTranslationFromVector(vPos);
|
||||
@@ -65,7 +67,7 @@ void CCharacter_Controller::Set_Name(const _char* pName)
|
||||
{
|
||||
m_pController->getActor()->setName(pName);
|
||||
}
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
PSX::PxRigidDynamic* CCharacter_Controller::Get_Actor()
|
||||
{
|
||||
return m_pController->getActor();
|
||||
@@ -411,16 +413,16 @@ HRESULT CCharacter_Controller::Initialize(void* pArg)
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
if (FAILED(Debug_Initialize())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
HRESULT CCharacter_Controller::Debug_Initialize()
|
||||
{
|
||||
_float3 vVolume = Get_Volume();
|
||||
@@ -438,7 +440,7 @@ HRESULT CCharacter_Controller::Debug_Initialize()
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
|
||||
|
||||
_bool CCharacter_Controller::Check_Overlap()
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
IMPLEMENT_SINGLETON(CGameInstance)
|
||||
|
||||
|
||||
CGameInstance::CGameInstance()
|
||||
{
|
||||
}
|
||||
@@ -32,6 +31,7 @@ CGameInstance::CGameInstance()
|
||||
HRESULT CGameInstance::Initialize_Engine(const ENGINE_DESC& EngineDesc, ID3D11Device** ppDevice, ID3D11DeviceContext** ppContext)
|
||||
{
|
||||
g_iStaticLevel = EngineDesc.iStaticLevel;
|
||||
m_bRenderCollider = true;
|
||||
m_pGraphic_Device = CGraphic_Device::Create(EngineDesc.hWnd, EngineDesc.iWinSizeX, EngineDesc.iWinSizeY, ppDevice, ppContext);
|
||||
if (nullptr == m_pGraphic_Device) {
|
||||
return E_FAIL;
|
||||
@@ -144,7 +144,6 @@ HRESULT CGameInstance::Initialize_Engine(const ENGINE_DESC& EngineDesc, ID3D11De
|
||||
|
||||
void CGameInstance::Update_Engine(_float fTimeDelta)
|
||||
{
|
||||
|
||||
_float fExcuteTimeDelta = Update_SlowMotion(fTimeDelta);
|
||||
|
||||
m_pKey_Manager->Update();
|
||||
@@ -980,7 +979,7 @@ ID3D11ShaderResourceView* CGameInstance::Get_RenderTarget_SRV(const _wstring& st
|
||||
return m_pRenderTarget_Manager->Get_RenderTarget_SRV(strRenderTargetKey);
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
void CGameInstance::RenderTarget_Debuger()
|
||||
{
|
||||
m_pRenderTarget_Manager->RenderTarget_Debuger();
|
||||
@@ -990,7 +989,7 @@ HRESULT CGameInstance::Render_RenderTarget_Debug(CShader* pShader, CVIBuffer_Rec
|
||||
{
|
||||
return m_pRenderTarget_Manager->Render_RenderTarget_Debug(pShader, pVIBuffer);
|
||||
}
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
HRESULT CGameInstance::Clear_Cameras(_uint iLevel)
|
||||
{
|
||||
return m_pCamera_Manager->Clear_Cameras(iLevel);
|
||||
|
||||
@@ -47,7 +47,7 @@ HRESULT CRenderTarget::Initialize(_uint iSizeX, _uint iSizeY, DXGI_FORMAT ePixel
|
||||
m_vClearColor = vClearColor;
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
Ready_Debug();
|
||||
#endif
|
||||
|
||||
@@ -88,7 +88,7 @@ void CRenderTarget::Get_TextureDesc(D3D11_TEXTURE2D_DESC& Desc)
|
||||
{
|
||||
m_pTexture2D->GetDesc(&Desc);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
|
||||
void CRenderTarget::Ready_Debug()
|
||||
{
|
||||
|
||||
@@ -561,7 +561,7 @@ HRESULT CRenderTarget_Manager::Bind_RenderTarget(const _wstring& strTargetTag, C
|
||||
|
||||
return pRenderTarget->Bind_ShaderResource(pShader, pConstantName);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
|
||||
HRESULT CRenderTarget_Manager::Render_RenderTarget_Debug(CShader* pShader, CVIBuffer_Rect* pVIBuffer)
|
||||
{
|
||||
@@ -633,7 +633,7 @@ void CRenderTarget_Manager::Toggle_RT_Debugger()
|
||||
}
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
|
||||
CRenderTarget* CRenderTarget_Manager::Find_RenderTarget(const _wstring& strRenderTargetKey)
|
||||
{
|
||||
|
||||
@@ -36,23 +36,26 @@ void CRenderer::Render()
|
||||
memcpy_s(&m_MotionBlurPreViewMatrix, sizeof(_float4x4), m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW), sizeof(_float4x4));
|
||||
memcpy_s(&m_MotionBlurPreProjMatrix, sizeof(_float4x4), m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ), sizeof(_float4x4));
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
static _bool m_bToggleDebug = false;
|
||||
Describe_Entitiy();
|
||||
m_pGameInstance->RenderTarget_Debuger();
|
||||
GUI::Begin("RenderTarget Debuger", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||
GUI::Checkbox("DebugToggle", &m_bToggleDebug);
|
||||
|
||||
if (m_pGameInstance->Key_Pressing(DIK_F10)) {
|
||||
Render_Debug();
|
||||
static _bool m_bRenderSystem = false;
|
||||
if (m_pGameInstance->Key_Up(DIK_F6)) {
|
||||
m_bRenderSystem = !m_bRenderSystem;
|
||||
}
|
||||
else {
|
||||
if (true == m_bRenderSystem) {
|
||||
Describe_Entitiy();
|
||||
m_pGameInstance->RenderTarget_Debuger();
|
||||
GUI::Begin("RenderTarget Debuger", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||
GUI::Checkbox("DebugToggle", &m_bToggleDebug);
|
||||
|
||||
if (m_bToggleDebug) {
|
||||
Render_Debug();
|
||||
}
|
||||
GUI::End();
|
||||
}
|
||||
if (m_pGameInstance->Key_Pressing(DIK_F10)) {
|
||||
Render_Debug();
|
||||
}
|
||||
GUI::End();
|
||||
|
||||
#endif
|
||||
m_eType = RENDER::END;
|
||||
}
|
||||
@@ -1355,7 +1358,7 @@ void CRenderer::Render_Tone_Mapping()
|
||||
COMPUTE_TIMEDELTA("Timer_Render_Tone_Mapping");
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
|
||||
void CRenderer::Render_Debug()
|
||||
{
|
||||
|
||||
@@ -640,7 +640,7 @@ void CRenderer::Free()
|
||||
SAFE_RELEASE(m_pContext);
|
||||
SAFE_RELEASE(m_pGameInstance);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
void CRenderer::Describe_Entitiy()
|
||||
{
|
||||
GUI::Begin("SYSTEM", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||
@@ -700,9 +700,12 @@ void CRenderer::Describe_Entitiy()
|
||||
}
|
||||
if (GUI::CollapsingHeader("End_Padding")) {
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
if (GUI::Button("Refresh_Shader")) {
|
||||
m_pShader->Shader_Refresh();
|
||||
}
|
||||
#endif // _DEBUG
|
||||
|
||||
}
|
||||
GUI::End();
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ CRigidBody_Dynamic::CRigidBody_Dynamic(const CRigidBody_Dynamic& rhs) :
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
HRESULT CRigidBody_Dynamic::Render()
|
||||
{
|
||||
return Render(nullptr, CMyTools::ColorRGB_A_HEXtoVECTOR(0x2fc48000, 1.f));
|
||||
@@ -31,6 +31,9 @@ HRESULT CRigidBody_Dynamic::Render(function<void()> custumState)
|
||||
}
|
||||
HRESULT CRigidBody_Dynamic::Render(function<void()> custumState, _fvector vColor)
|
||||
{
|
||||
if (m_pGameInstance->IsRenderCollider()) {
|
||||
return S_OK;
|
||||
}
|
||||
if (m_pOwner->isDead())
|
||||
return S_OK;
|
||||
PSX::PxTransform pxTranform = m_pRigidBody->getGlobalPose();
|
||||
@@ -106,7 +109,7 @@ void CRigidBody_Dynamic::Set_HalfGeometryInfo(_float3 vhalfGeometryInfo)
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
if (nullptr != m_pMainShape) {
|
||||
m_pMainShape.reset();
|
||||
m_pMainShape = nullptr;
|
||||
@@ -116,7 +119,7 @@ void CRigidBody_Dynamic::Set_HalfGeometryInfo(_float3 vhalfGeometryInfo)
|
||||
m_pSubShape = nullptr;
|
||||
}
|
||||
Add_DebugShape();
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
}
|
||||
void CRigidBody_Dynamic::Move_LocalPos(_matrix newLocalPos)
|
||||
{
|
||||
@@ -135,9 +138,9 @@ void CRigidBody_Dynamic::Move_LocalPos(_fvector vNewRotQ, _gvector vNewTranslati
|
||||
PSX::PxShape* pShape = { nullptr };
|
||||
m_pRigidBody->getShapes(&pShape, m_pRigidBody->getNbShapes());
|
||||
pShape->setLocalPose(PSX::PxTransform(PSX::PxVec3(m_vLocalTranslation.x, m_vLocalTranslation.y, m_vLocalTranslation.z), PSX::PxQuat(m_vLocalRotQ.x, m_vLocalRotQ.y, m_vLocalRotQ.z, m_vLocalRotQ.w)));
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
Add_DebugShape();
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
}
|
||||
_float CRigidBody_Dynamic::Get_Mass()
|
||||
{
|
||||
@@ -382,11 +385,11 @@ HRESULT CRigidBody_Dynamic::Initialize(void* pArg)
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
if (FAILED(Add_DebugShape())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
RIGIDBODY_DYNAMIC_DESC* pDesc = static_cast<RIGIDBODY_DYNAMIC_DESC*>(pArg);
|
||||
m_tagData.pOwner = m_pOwner;
|
||||
XMStoreFloat4x4(&m_tagData.BeforeMatrix, m_pTransform->Get_XMWorldMatrix());
|
||||
@@ -428,7 +431,7 @@ _bool CRigidBody_Dynamic::IsKinematic()
|
||||
// }
|
||||
//}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
HRESULT CRigidBody_Dynamic::Add_DebugShape()
|
||||
{
|
||||
if(nullptr != m_pMainShape)
|
||||
@@ -452,7 +455,7 @@ HRESULT CRigidBody_Dynamic::Add_DebugShape()
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
CRigidBody_Dynamic* CRigidBody_Dynamic::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, RIGIDBODY_PROTOTYPE_DYNAMIC_DESC& Desc)
|
||||
{
|
||||
CRigidBody_Dynamic* pInstance = new CRigidBody_Dynamic(pDevice, pContext);
|
||||
|
||||
@@ -47,7 +47,7 @@ class ENGINE_DLL CCharacter_Controller final :
|
||||
virtual ~CCharacter_Controller() = default;
|
||||
|
||||
public:
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
virtual HRESULT Render() override;
|
||||
virtual void Set_Name(const _char* pName);
|
||||
#endif
|
||||
@@ -101,18 +101,19 @@ class ENGINE_DLL CCharacter_Controller final :
|
||||
_bool m_bActive = { true };
|
||||
_bool m_bGravity = { true };
|
||||
_bool m_bSlide = { false };
|
||||
_float3 m_vLastClimbNormal = { 0.f, 1.f - FLT_EPSILON, 0.f };;
|
||||
#ifdef _DEBUG
|
||||
_float3 m_vLastClimbNormal = { 0.f, 1.f - FLT_EPSILON, 0.f };
|
||||
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
unique_ptr<GeometricPrimitive> m_pMainShape = { nullptr };
|
||||
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
|
||||
private:
|
||||
virtual HRESULT Initialize_Prototype() override;
|
||||
virtual HRESULT Initialize(void* pArg) override;
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
virtual HRESULT Debug_Initialize();
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
|
||||
|
||||
_bool Check_Overlap();
|
||||
|
||||
@@ -14,7 +14,6 @@ NS_BEGIN(Engine)
|
||||
|
||||
static _uint g_iStaticLevel;
|
||||
|
||||
|
||||
NS_END
|
||||
|
||||
USING(Engine);
|
||||
|
||||
@@ -14,6 +14,17 @@
|
||||
#define PSX physx
|
||||
#endif // !PSX
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define RELEASE_DEBUGGER
|
||||
#endif // _DEBUG
|
||||
#ifndef _DEBUG
|
||||
#define RELEASE_DEBUGGER
|
||||
#endif // !_DEBUG
|
||||
|
||||
|
||||
|
||||
|
||||
#pragma region ProgrammerInfo
|
||||
|
||||
#define ASSERT_NURI(expression)
|
||||
|
||||
@@ -27,7 +27,11 @@ class ENGINE_DLL CGameInstance final : public CBase
|
||||
_float2 Get_ViewPortSize();
|
||||
void BillBoard(CTransform* pTransform);
|
||||
void SlowMotion(_float fSlowIntense, _float fTime);
|
||||
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
_bool IsRenderCollider() { return m_bRenderCollider; }
|
||||
void Set_RenderCollider(_bool bRender) { m_bRenderCollider = bRender; }
|
||||
void Toggle_RenderCollider() { m_bRenderCollider = !m_bRenderCollider; }
|
||||
#endif RELEASE_DEBUGGER
|
||||
#pragma region GRAPHIC_DEVICE
|
||||
public:
|
||||
void Render_Begin(const _float4* pClearColor);
|
||||
@@ -192,10 +196,10 @@ class ENGINE_DLL CGameInstance final : public CBase
|
||||
HRESULT Bind_CS_RenderTarget(_uint iIndex, const _wstring& strTargetTag);
|
||||
HRESULT Clear_RenderTarget(const _wstring& strRenderTargetKey);
|
||||
ID3D11ShaderResourceView* Get_RenderTarget_SRV(const _wstring& strRenderTargetKey);
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
void RenderTarget_Debuger();
|
||||
HRESULT Render_RenderTarget_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer);
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
#pragma endregion
|
||||
#pragma region CAMERA_MANAGER
|
||||
HRESULT Clear_Cameras(_uint iLevel);
|
||||
@@ -386,6 +390,9 @@ class ENGINE_DLL CGameInstance final : public CBase
|
||||
map<const _char*, CModel*> m_ModelMap;
|
||||
|
||||
#endif // _DEBUG
|
||||
_bool m_bRenderCollider = false;
|
||||
_bool m_bRenderSystem = false;
|
||||
|
||||
map<const _char*, SaveModel> m_sModelMap;
|
||||
public:
|
||||
void Release_Engine();
|
||||
|
||||
@@ -23,7 +23,7 @@ class CRenderTarget final : public CBase
|
||||
void Copy_ResourceFrom(const CRenderTarget& Target);
|
||||
void Get_TextureDesc(D3D11_TEXTURE2D_DESC& Desc);
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
public:
|
||||
_bool Render_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer, _float fX, _float fY, _float fSizeX, _float fSizeY);
|
||||
void Ready_Debug();
|
||||
@@ -41,7 +41,7 @@ class CRenderTarget final : public CBase
|
||||
ID3D11ShaderResourceView* m_pSRV = { nullptr };
|
||||
_float4 m_vClearColor = {};
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
private:
|
||||
_float4x4 m_WorldMatrix = {};
|
||||
_point m_ptWindowSize = {};
|
||||
|
||||
@@ -32,18 +32,18 @@ class CRenderTarget_Manager final : public CBase
|
||||
void Flush_All_SRVs(_uint iStartSlot = 0, _uint numSlots = D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT);
|
||||
void Flush_All_CSUAVs(_uint iStartSlot = 0, _uint numSlots = D3D11_PS_CS_UAV_REGISTER_COUNT);
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
public:
|
||||
HRESULT Render_RenderTarget_Debug(class CShader* pShader, class CVIBuffer_Rect* pVIBuffer);
|
||||
void RenderTarget_Debuger();
|
||||
void Toggle_RT_Debugger();
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
private:
|
||||
_int m_iSizeX = { 350 };
|
||||
_int m_iSizeY = { 350 };
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
|
||||
private:
|
||||
ID3D11Device* m_pDevice = { nullptr };
|
||||
|
||||
@@ -36,7 +36,7 @@ class CRenderer final : public CBase
|
||||
#endif // _DEBUG
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
private:
|
||||
list<class CComponent*> m_DebugComponents;
|
||||
#endif
|
||||
@@ -142,7 +142,7 @@ class CRenderer final : public CBase
|
||||
void Render_UI_Overley();
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
private:
|
||||
void Render_Debug();
|
||||
#endif
|
||||
@@ -156,9 +156,9 @@ class CRenderer final : public CBase
|
||||
public:
|
||||
static CRenderer* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual void Free();
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
virtual void Describe_Entitiy();
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -28,12 +28,12 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
|
||||
virtual ~CRigidBody_Dynamic() = default;
|
||||
|
||||
public:
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
_float3 Get_LocalTranslation() {return m_vLocalTranslation; }
|
||||
virtual HRESULT Render()override;
|
||||
HRESULT Render(function<void()> custumState);
|
||||
HRESULT Render(function<void()> custumState, _fvector vColor);
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
|
||||
virtual PSX::PxRigidDynamic* Get_Actor() override { return m_pRigidBody; };
|
||||
void Set_Name(const _char* szName);
|
||||
@@ -85,10 +85,10 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
|
||||
_float m_fDensity = { 1000.f };
|
||||
_bool m_bActive = { true };
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
unique_ptr<GeometricPrimitive> m_pMainShape = { nullptr };
|
||||
unique_ptr<GeometricPrimitive> m_pSubShape = { nullptr };
|
||||
#endif // _DEBUG
|
||||
#endif // RELEASE_DEBUGGER
|
||||
|
||||
private:
|
||||
HRESULT Initialize_Prototype(RIGIDBODY_PROTOTYPE_DYNAMIC_DESC& Desc);
|
||||
@@ -96,7 +96,7 @@ class ENGINE_DLL CRigidBody_Dynamic : public CRigidBody
|
||||
// void Move(PSX::PxTransform& pxTransform, _bool bTeleport);
|
||||
_bool IsKinematic();
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef RELEASE_DEBUGGER
|
||||
HRESULT Add_DebugShape();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user