Skip to content

Instantly share code, notes, and snippets.

@Introscopia
Last active April 28, 2017 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Introscopia/9470fe8bcff7c6cb2cde5a5d5328795d to your computer and use it in GitHub Desktop.
Save Introscopia/9470fe8bcff7c6cb2cde5a5d5328795d to your computer and use it in GitHub Desktop.
// Object of Arrays
Particle_system the_system;
Class Particle_system{
PVector[] positions, velocities;
}
// Array of Objects
Particle[] particle_system;
Class Particle{
PVector position, velocity;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment