Explorar o código

Added missing 'used but not declared' heightMax property.

sole %!s(int64=13) %!d(string=hai) anos
pai
achega
5e0741b528
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/extras/controls/FirstPersonControls.js

+ 1 - 0
src/extras/controls/FirstPersonControls.js

@@ -24,6 +24,7 @@ THREE.FirstPersonControls = function ( object, domElement ) {
 	this.heightSpeed = false;
 	this.heightCoef = 1.0;
 	this.heightMin = 0.0;
+	this.heightMax = 1.0;
 
 	this.constrainVertical = false;
 	this.verticalMin = 0;

粤ICP备19079148号