Exemplo n.º 1
0
 public void RotateCube(IFacelet facelet, double angle)
 {
     RotateCube(facelet.Normal, angle);
 }
Exemplo n.º 2
0
 protected void SetFrontDirection(IFacelet frontFacelet, IFacelet topFacelet)
 {
     SetFrontDirection(frontFacelet.Normal, topFacelet.Normal);
 }
Exemplo n.º 3
0
 public bool IsSameNormal(IFacelet other)
 {
     return Normal.IsSame(other.Normal);
 }
Exemplo n.º 4
0
 public bool IsSameLayer(IFacelet other)
 {
     return IsSameLayer(other, other.Normal);
 }
Exemplo n.º 5
0
 public bool IsSameLayer(IFacelet other, Vector3D normal)
 {
     return CubieCenter.IsOnPlane(other.CubieCenter, normal);
 }