Skip to content

Instantly share code, notes, and snippets.

@Nub
Created October 24, 2011 21:50
Show Gist options
  • Select an option

  • Save Nub/1310436 to your computer and use it in GitHub Desktop.

Select an option

Save Nub/1310436 to your computer and use it in GitHub Desktop.
Vertex *pointSprites[kSpriteDOFImageCount];
for (int i = 0; i < kSpriteDOFImageCount; i++) {
pointSprites[i] = (Vertex*)malloc(sizeof(Vertex) * [self.particleEmitter maximumParticles]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment