Ejemplo n.º 1
0
	void PhysicsSystemImpl::destroy()
	{
		m_cooking->release();
		m_physics->release();
		m_foundation->release();
		LUMIX_DELETE(m_allocator, m_physx_allocator);
		LUMIX_DELETE(m_allocator, m_error_callback);
	}
Ejemplo n.º 2
0
void PhysicsSystemImpl::destroy()
{
	m_controller_manager->release();
	m_cooking->release();
	m_physics->release();
	m_foundation->release();
	m_allocator.deleteObject(m_physx_allocator);
	m_allocator.deleteObject(m_error_callback);
}