panUp method

dynamic panUp(
  1. dynamic distance,
  2. dynamic objectMatrix
)

Implementation

panUp(distance, objectMatrix) {
  if (scope.screenSpacePanning == true) {
    v.setFromMatrixColumn(objectMatrix, 1);
  } else {
    v.setFromMatrixColumn(objectMatrix, 0);
    v.crossVectors(scope.object.up, v);
  }

  v.multiplyScalar(distance);

  panOffset.add(v);
}