moveRight method

dynamic moveRight(
  1. dynamic distance
)

Implementation

moveRight(distance) {
  _vector.setFromMatrixColumn(camera.matrix, 0);

  camera.position.addScaledVector(_vector, distance);
}