Parcourir la source

Added missing 'used but not declared' heightMax property.

sole il y a 13 ans
Parent
commit
5e0741b528
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;