Browse Source

Added missing 'used but not declared' heightMax property.

sole 13 years ago
parent
commit
5e0741b528
1 changed files with 1 additions and 0 deletions
  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;