| 134 | } |
| 135 | |
| 136 | void SceneController::setupFallingGears() |
| 137 | { |
| 138 | mIslands.resize( 2 ); |
| 139 | |
| 140 | float yOffset = 0; |
| 141 | for( auto &islandGroup : mIslands ) { |
| 142 | islandGroup.clear(); |
| 143 | for( size_t i = 0; i < 4; i++ ) { |
| 144 | islandGroup.push_back( makeIsland() ); |
| 145 | } |
| 146 | |
| 147 | reConfigIslandGroup( islandGroup, yOffset ); |
| 148 | yOffset -= pointsToMeters( app::getWindowHeight() * 0.8f ); |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | vector<ci::vec2> SceneController::calcNextOuterBumperVerts( float baseHeight, float topHeight, float baseWidth, float topWidth ) const |
| 153 | { |
nothing calls this directly
no test coverage detected