public void RotateCube(IFacelet facelet, double angle)
 {
     RotateCube(facelet.Normal, angle);
 }
Example #2
0
 protected void SetFrontDirection(IFacelet frontFacelet, IFacelet topFacelet)
 {
     SetFrontDirection(frontFacelet.Normal, topFacelet.Normal);
 }
 public bool IsSameNormal(IFacelet other)
 {
     return Normal.IsSame(other.Normal);
 }
 public bool IsSameLayer(IFacelet other)
 {
     return IsSameLayer(other, other.Normal);
 }
 public bool IsSameLayer(IFacelet other, Vector3D normal)
 {
     return CubieCenter.IsOnPlane(other.CubieCenter, normal);
 }