panUp method
dynamic
panUp(
- dynamic distance,
- 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);
}