MCPcopy Create free account
hub / github.com/aardappel/lobster / b2StackQueue

Method b2StackQueue

dev/include/Box2D/Particle/b2StackQueue.h:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27public:
28
29 b2StackQueue(b2StackAllocator *allocator, int32 capacity)
30 {
31 m_allocator = allocator;
32 m_buffer = (T*) m_allocator->Allocate(sizeof(T) * capacity);
33 m_front = 0;
34 m_back = 0;
35 m_capacity = capacity;
36 }
37
38 ~b2StackQueue()
39 {

Callers

nothing calls this directly

Calls 1

AllocateMethod · 0.45

Tested by

no test coverage detected