Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
krawthekrow authored and jacob1 committed Nov 23, 2017
1 parent db6fb54 commit 62d57cc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/simulation/Simulation.cpp
Expand Up @@ -5281,15 +5281,15 @@ Simulation::Simulation():
pretty_powder(0),
sandcolour_frame(0)
{
int tportal_rx[] = {-1, 0, 1, 1, 1, 0,-1,-1};
int tportal_ry[] = {-1,-1,-1, 0, 1, 1, 1, 0};
memcpy(portal_rx, tportal_rx, sizeof(tportal_rx));
memcpy(portal_ry, tportal_ry, sizeof(tportal_ry));

currentTick = 0;
std::fill(elementCount, elementCount+PT_NUM, 0);
elementRecount = true;
int tportal_rx[] = {-1, 0, 1, 1, 1, 0,-1,-1};
int tportal_ry[] = {-1,-1,-1, 0, 1, 1, 1, 0};

memcpy(portal_rx, tportal_rx, sizeof(tportal_rx));
memcpy(portal_ry, tportal_ry, sizeof(tportal_ry));

currentTick = 0;
std::fill(elementCount, elementCount+PT_NUM, 0);
elementRecount = true;

//Create and attach gravity simulation
grav = new Gravity();
Expand Down

0 comments on commit 62d57cc

Please sign in to comment.