Skip to content

Commit

Permalink
Minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cgmb committed Jun 7, 2017
1 parent cce4298 commit cbb4e0b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ float g_utmp[Y][X]; // [Y][X-1]
float g_vtmp[Y][X]; // [Y-1][X]

bool g_solid[Y][X];
bool g_source[Y][X];
bool g_sink[Y][X];

bool g_pause;
unsigned g_simulate_steps;
Expand All @@ -51,9 +53,6 @@ vec2f g_markers[N];
uint8_t g_marker_count[Y][X];
uint8_t g_old_marker_count[Y][X];

bool g_source[Y][X];
bool g_sink[Y][X];

const float k_g = -10.f;

float clampf(float min, float x, float max) {
Expand Down

0 comments on commit cbb4e0b

Please sign in to comment.