Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Bucket::step(float time){
- currentTime_ += time;
- rof_ = alpha_* getCsArea() * time * sqrt(2.f*Constants::g*geth());
- child_->addVolume(rof_, time, getHeightFromBottom());
- storedInfo_.push_back(StoredInfo(water_v_, rof_));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement