panLeft method

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

Implementation

panLeft(distance, objectMatrix) {
  v.setFromMatrixColumn(objectMatrix, 0); // get X column of objectMatrix
  v.multiplyScalar(-distance);

  panOffset.add(v);
}