Skip to content

Commit

Permalink
Merge pull request cinder#329 from gaborpapp/mayacamui-warning-fix
Browse files Browse the repository at this point in the history
removed unused variable from MayaCamUI
  • Loading branch information
andrewfb committed Apr 17, 2013
2 parents d65b178 + 68db4db commit 5bc81aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/cinder/MayaCamUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ class MayaCamUI {
Vec3f mW = mInitialCam.getViewDirection().normalized();
bool invertMotion = ( mInitialCam.getOrientation() * Vec3f::yAxis() ).y < 0.0f;
Vec3f mU = Vec3f::yAxis().cross( mW ).normalized();
Vec3f mV = mW.cross( mU ).normalized();


if( invertMotion ) {
deltaX = -deltaX;
deltaY = -deltaY;
Expand Down

0 comments on commit 5bc81aa

Please sign in to comment.