* some fixes

This commit is contained in:
end 2016-09-28 05:50:43 +02:00
parent d2d8039589
commit 959202e111
3 changed files with 36 additions and 5 deletions

View file

@ -45,9 +45,7 @@ namespace game {
}
} while(glm::length(pos) < 0.2 && tries++ < 1000);
pos.x *= 10;
pos.y *= 10;
planets.push_back(new Planet(pos, (0.03 + 0.07*util::randf_0_1()) * 10));
planets.push_back(new Planet(pos, 0.03 + 0.07*util::randf_0_1()));
}
}