summaryrefslogtreecommitdiff
path: root/src/effects/particle_defs.h
blob: dcbb830ad0c95545f8af213d93b83d96a7c4774c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// This file is part of the 64k demo project.
// It defines common structures for particle-based effects.

#pragma once

static const int NUM_PARTICLES = 10000;

struct Particle {
  float pos[4];
  float vel[4];
  float rot[4];
  float color[4];
};