* some fixes
This commit is contained in:
parent
d2d8039589
commit
959202e111
3 changed files with 36 additions and 5 deletions
|
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue