r500/verbatim/particle_system_data_model.c
2025-11-13 10:56:28 -06:00

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];