public void BeginLayerRotation(Axis around, int layer, bool clockwise, int stepCount) { if (view.AnimationInProgress) view.EndAnimation(); view.BeginLayerRotation(around, layer, stepCount, clockwise); dataCube.Rotate(around, layer, clockwise); }
private void EndRotation() { viewCube.Rotate(animatedAxis, animatedLayer, rotationAngle > 0); }