mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
azimuth function is really just a ratio
This commit is contained in:
parent
08eacc436f
commit
d1bc31afb6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue