moveUp method

void moveUp(
  1. double amount
)

Implementation

void moveUp(double amount) {
  transform[POSX] += transform[UPX] * amount;
  transform[POSY] += transform[UPY] * amount;
  transform[POSZ] += transform[UPZ] * amount;
}