Reverted to version 1.17. Version 1.18 was wrongly done starting from a outdated version.

This commit is contained in:
Paolo Cignoni 2006-08-30 07:01:54 +00:00
parent 63924b6ba0
commit 74a69d1848
1 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.17 2006/07/26 13:54:45 cignoni
Reversed the direction of wheel scaling and added middle mouse panning
Revision 1.16 2006/02/13 13:10:27 cignoni Revision 1.16 2006/02/13 13:10:27 cignoni
Added Zmode for moving objects along the perpendicular to the viewplane Added Zmode for moving objects along the perpendicular to the viewplane
@ -86,7 +89,7 @@ using namespace vcg;
void TrackMode::Apply(Trackball *trackball, float WheelNotch) { void TrackMode::Apply(Trackball *trackball, float WheelNotch) {
trackball->track.sca*=pow(1.2f,WheelNotch); trackball->track.sca*=pow(1.2f,-WheelNotch);
} }
void ScaleMode::Apply(Trackball *tb, Point3f new_point) { void ScaleMode::Apply(Trackball *tb, Point3f new_point) {