|
@@ -117,8 +117,8 @@ Viewer.prototype.hasChanged = function () {//判断画面是否改变了,改
|
|
|
//var changed = cameraChanged //|| !this.mouse.equals(this.previousState.mouse)
|
|
|
let changeSlightly
|
|
|
if(cameraChanged){
|
|
|
- changeSlightly = math.closeTo(this.camera.position,this.previousState.position, 1e-3) &&
|
|
|
- math.closeTo(this.camera.quaternion,this.previousState.quaternion, 1e-4)
|
|
|
+ changeSlightly = math.closeTo(this.camera.position,this.previousState.position, 1e-2) &&
|
|
|
+ math.closeTo(this.camera.quaternion,this.previousState.quaternion, 1e-3)
|
|
|
}
|
|
|
copy()
|
|
|
|