Пример #1
0
 public void RotateCube(IFacelet facelet, double angle)
 {
     RotateCube(facelet.Normal, angle);
 }
Пример #2
0
 protected void SetFrontDirection(IFacelet frontFacelet, IFacelet topFacelet)
 {
     SetFrontDirection(frontFacelet.Normal, topFacelet.Normal);
 }
Пример #3
0
 public bool IsSameNormal(IFacelet other)
 {
     return Normal.IsSame(other.Normal);
 }
Пример #4
0
 public bool IsSameLayer(IFacelet other)
 {
     return IsSameLayer(other, other.Normal);
 }
Пример #5
0
 public bool IsSameLayer(IFacelet other, Vector3D normal)
 {
     return CubieCenter.IsOnPlane(other.CubieCenter, normal);
 }