actual version libs withiout pip
git-svn-id: svn://db.shs.com.ru/libs@2 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -116,7 +116,7 @@ bool BrickMathDelayTicks::tick_body(double time) {
|
||||
|
||||
|
||||
bool BrickMathDelaySeconds::tick_body(double time) {
|
||||
t = round(parameters[0].toFloat() / dt) + 1;
|
||||
t = piRound(parameters[0].toFloat() / dt) + 1;
|
||||
if (t < 1) t = 1;
|
||||
if (v.size() != t) {
|
||||
v.resize(t);
|
||||
|
||||
Reference in New Issue
Block a user