Skip to content

Commit

Permalink
Remove cout
Browse files Browse the repository at this point in the history
  • Loading branch information
Lecrapouille committed Jan 6, 2024
1 parent f5a5a3c commit ccd857d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Net/TimedTokens.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ TimedToken::TimedToken(Arc& arc_,size_t const tokens_, TypeOfNet const type_)
assert(false && "Unknown type of net");
break;
}

std::cout << "Magnitude: " << magnitude << " speed: " << speed << std::endl;
}

//------------------------------------------------------------------------------
Expand All @@ -80,7 +78,6 @@ bool TimedToken::update(float const dt)
offset += dt * speed / magnitude;
x = arc->from.x + (next.x - arc->from.x) * offset;
y = arc->from.y + (next.y - arc->from.y) * offset;
std::cout << x << ", " << y << std::endl;
return (offset >= 1.0);
}

Expand Down

0 comments on commit ccd857d

Please sign in to comment.