azimuth function is really just a ratio

This commit is contained in:
PhilipRosedale 2016-02-29 10:16:34 -08:00
parent 08eacc436f
commit d1bc31afb6

View file

@ -2332,7 +2332,7 @@ SelectionDisplay = (function() {
var vector = Vec3.subtract(pick, initialXZPick);
// If the mouse is too close to the horizon of the pick plane, stop moving
var MIN_AZIMUTH = 0.02; // Radians
var MIN_AZIMUTH = 0.02; // largest dimension of object divided by distance to it
var azimuth = translateXZTool.azimuth(pickRay.origin, pick);
if (wantDebug) {
print("Start Azimuth: " + translateXZTool.startingAzimuth + ", Azimuth: " + azimuth);