10 lines
178 B
C
10 lines
178 B
C
struct particle_state {
|
|
vec3 position;
|
|
vec3 velocity;
|
|
float age;
|
|
float random;
|
|
};
|
|
|
|
const int particle_count = 128;
|
|
struct particle_state particle_system[particle_count];
|