Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. void Bucket::step(float time){
  2.     currentTime_ += time;
  3.     rof_ = alpha_* getCsArea() * time * sqrt(2.f*Constants::g*geth());
  4.     child_->addVolume(rof_, time, getHeightFromBottom());
  5.     storedInfo_.push_back(StoredInfo(water_v_, rof_));
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement