size of the cursor is not modified when changing the magnification
(minor changes)
aWorldClamp = sqrt(aWorldClamp);
float aMDiameter = 2.0 * aMRadius;
float aCoeff = aWorldClamp / aMDiameter;
- float aMagnification = aWorldClamp / 2.0 / myRadius;
- /*
- cout<<"aMDiameter = "<<aMDiameter<<"; aCoeff = "<<aCoeff<<
- "; myMagnification = "<<myMagnification<<"; aMagnification = "<<aMagnification<<endl;
- */
+
if(aCoeff < 1.0){
this->SetScale(aCoeff);
- if(aMagnification > myMagnification)
- Init(myHeight/aCoeff,aMRadius);
+ //Init(myHeight/aCoeff,aMRadius*aCoeff);
}
}