panLeft method
dynamic
panLeft(
- dynamic distance,
- dynamic objectMatrix
Implementation
panLeft(distance, objectMatrix) {
v.setFromMatrixColumn(objectMatrix, 0); // get X column of objectMatrix
v.multiplyScalar(-distance);
panOffset.add(v);
}