Skip to content

Commit

Permalink
fix reversed panning positions in FallingGears sample
Browse files Browse the repository at this point in the history
  • Loading branch information
richardeakin committed Oct 31, 2014
1 parent 6661a09 commit f6b6f32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/FallingGears/src/SceneObjects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ void Wall::handleCollision( const Gear *gear, const Vec2f &contactPoint )

if( mSide == Wall::Side::RIGHT ) {
freqMidi += 7;
panPos = 0.1f;
panPos = 0.9f; // almost all the way to the right
}
else
panPos = 0.9f;
panPos = 0.1f; // almost all the way to the left

while( freqMidi > BASS_MAX )
freqMidi -= 12;
Expand Down

0 comments on commit f6b6f32

Please sign in to comment.