Esempio n. 1
0
 private CubeHexPosition RotateRightByOneStep(CubeHexPosition cube)
 {
     return(new CubeHexPosition(-cube.Z, -cube.X, -cube.Y));
 }
Esempio n. 2
0
 private CubeHexPosition RotateLeftByOneStep(CubeHexPosition cube)
 {
     return(new CubeHexPosition(-cube.Y, -cube.Z, -cube.X));
 }