Set far camera distance limit to higher than default.

This commit is contained in:
kovacsv 2015-12-30 09:15:10 +01:00
parent 2b32a29553
commit 74f35392fb

View File

@ -17,6 +17,8 @@ ImporterViewer.prototype.Init = function (canvasName)
if (!this.viewer.Start (canvas, viewerSettings)) {
return false;
}
this.viewer.navigation.SetNearDistanceLimit (0.1);
this.viewer.navigation.SetFarDistanceLimit (100000.0);
this.viewer.SetClearColor (0xdddddd);
this.viewer.Draw ();