- Timestamp:
- 2021-10-06T19:31:20+02:00 (3 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/util/imagery
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/util/imagery/CameraPlane.java
r18246 r18255 183 183 } 184 184 185 public Vector3D getRotation() {185 public synchronized Vector3D getRotation() { 186 186 return this.rotation; 187 187 } -
trunk/src/org/openstreetmap/josm/gui/util/imagery/Vector3D.java
r18246 r18255 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui.util.imagery; 3 4 import org.openstreetmap.josm.tools.Utils; 3 5 4 6 /** … … 237 239 if (o instanceof Vector3D) { 238 240 Vector3D other = (Vector3D) o; 239 return this.x == other.x && this.y == other.y && this.z == other.z;241 return Utils.equalsEpsilon(this.x, other.x) && Utils.equalsEpsilon(this.y, other.y) && Utils.equalsEpsilon(this.z, other.z); 240 242 } 241 243 return false;
Note:
See TracChangeset
for help on using the changeset viewer.