Explorar el Código

Added missing 'used but not declared' heightMax property.

sole hace 13 años
padre
commit
5e0741b528
Se han modificado 1 ficheros con 1 adiciones y 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号