| 367 | } |
| 368 | |
| 369 | RealVector2D CreatorWindow::getRandomPos() const |
| 370 | { |
| 371 | auto result = Viewport::get().getCenterInWorldPos(); |
| 372 | result.x += (toFloat(std::rand()) / RAND_MAX - 0.5f) * 8; |
| 373 | result.y += (toFloat(std::rand()) / RAND_MAX - 0.5f) * 8; |
| 374 | return result; |
| 375 | } |
| 376 | |
| 377 | void CreatorWindow::incExecutionNumber() |
| 378 | { |
nothing calls this directly
no test coverage detected