Common.h 518 B

12345678910111213141516171819202122232425
  1. // Copyright (C) 2009-2016, Panagiotis Christopoulos Charitos.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #pragma once
  6. #include <anki/collision/Forward.h>
  7. #include <anki/util/Allocator.h>
  8. namespace anki
  9. {
  10. /// @addtogroup collision
  11. /// @{
  12. /// The type of the collision temporary allocator
  13. template<typename T>
  14. using CollisionTempAllocator = StackAllocator<T>;
  15. template<typename T>
  16. using CollisionAllocator = ChainAllocator<T>;
  17. /// @}
  18. } // end namespace anki