function panLeft(distance, objectMatrix) {
				var te = objectMatrix.elements;
				// var adjDist = distance / Math.cos(phi);
	
				v.set(te[0], 0, te[2]);
				v.multiplyScalar(-distance);
	
				panOffset.add(v);
			}
// Fixed panning to x/y plane
Fixed panning to x/y plane
Fixed panning to x / y plane
function panLeft(distance, objectMatrix) {
				var te = objectMatrix.elements;
				v.set(te[0], 0, te[2]);
				v.multiplyScalar(-distance);
				panOffset.add(v);
			}
function panLeft ( distance , objectMatrix ) { var te = objectMatrix . elements ; v . set ( te [ 0 ] , 0 , te [ 2 ] ) ; v . multiplyScalar ( - distance ) ; panOffset . add ( v ) ; }
Fixed panning to x/y plane
Fixed panning to x / y plane
// var adjDist = distance / Math.cos(phi);