/***************************************************************************
*                                                                          *
*  Copyright (C) Golaem S.A.  All Rights Reserved.                         *
*                                                                          *
***************************************************************************/

#pragma once

#include <cstddef>
#include <glmBasePhysicsDefinitions.h>
#include "glmMemory.h"
#include "glmMemoryStats.h"

namespace  physx
{
	class PxShape;
}

namespace glm
{
	struct shapePair
	{
		GLM_CLASS_STAT_ID(glm::MemoryStatIds::Simulation)

		shapePair() : _dynamicShape(NULL), _triggerShape(NULL)
		{}

		physx::PxShape* _dynamicShape;	//this shape is the one used for dynamic reaction on rigid bodies (	PxShapeFlag::eSIMULATION_SHAPE	)
		physx::PxShape* _triggerShape;	//this shape is only used to detect collision within entities (	PxShapeFlag::eTRIGGER_SHAPE	)
	};
}
