Searched refs:vectorPool (Results 1 – 7 of 7) sorted by relevance
67 VectorPool vectorPool = sSystemRegistry.vectorPool; in update() local75 Vector2 newVelocity = vectorPool.allocate(currentVelocity); in update()126 vectorPool.release(newVelocity); in update()131 VectorPool vectorPool = sSystemRegistry.vectorPool; in resolveCollision() local135 Vector2 collisionNormal = vectorPool.allocate(opposingNormal); in resolveCollision()139 Vector2 relativeVelocity = vectorPool.allocate(velocity); in resolveCollision()154 Vector2 entity1Adjust = vectorPool.allocate(collisionNormal); in resolveCollision()161 vectorPool.release(entity1Adjust); in resolveCollision()165 vectorPool.release(collisionNormal); in resolveCollision()166 vectorPool.release(relativeVelocity); in resolveCollision()[all …]
122 VectorPool vectorPool = sSystemRegistry.vectorPool; in castRay() local123 Vector2 tempHitPoint = vectorPool.allocate(); in castRay()124 Vector2 tempHitNormal = vectorPool.allocate(); in castRay()144 vectorPool.release(tempHitPoint); in castRay()145 vectorPool.release(tempHitNormal); in castRay()183 VectorPool vectorPool = sSystemRegistry.vectorPool; in testBox() local184 Vector2 worldTileOffset = vectorPool.allocate(); in testBox()218 vectorPool.release(worldTileOffset); in testBox()484 VectorPool vectorPool = sSystemRegistry.vectorPool; in testBoxAgainstList() local487 Vector2 tempHitPoint = vectorPool.allocate(); in testBoxAgainstList()[all …]
58 public VectorPool vectorPool; field in ObjectRegistry
178 VectorPool pool = sSystemRegistry.vectorPool; in receivedHit()
259 final VectorPool pool = sSystemRegistry.vectorPool; in update()
119 VectorPool pool = sSystemRegistry.vectorPool; in move()
164 BaseObject.sSystemRegistry.vectorPool = new VectorPool(); in bootstrap()